-
November 11th, 2023, 18:23 #1
- Join Date
- Feb 2021
- Posts
- 376
Is it possible to drop a light source through scripting?
In my ruleset, players have to equip weapons in primary or secondary hand. I would like them to equip a torch or lantern if carrying, and if they switch that out I would like to remove the torch effect (easy) and drop a light source where they are standing. Is this possible? Thanks.
-
November 11th, 2023, 22:55 #2
- Join Date
- Apr 2018
- Location
- Sydney, Australia
- Posts
- 219
Hi, I can’t answer this, but just wanted to mention something. If you are trying to simulate them dropping it on the ground, you would also need to script removing it from their inventory as well, otherwise they could have infinite torches.
-
November 13th, 2023, 19:01 #3
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,634
There are no APIs to interact with lighting outside of token lights at this time.
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks