I'm trying to create a mine that yells at you to get out and puts out all the torches and stuff, but ive been absent from modding for quite some time. i've forgotten most of how lua works. but i cant seem to find a way to either extinguish torches on their holders or remove them completely.
any help? thanks
Torch holder extinguishing
Torch holder extinguishing
I smell you, i do! You GRADUNK! No be hiding on TORGAL!
- zimberzimber
- Posts: 432
- Joined: Fri Feb 08, 2013 8:06 pm
Re: Torch holder extinguishing
You can "extinguish" them by turning off the light, sound, and particle components on the torch holder object.
Through script it would be torch_holder_id.light:disable() replace light with sound and then light for other components.
Through script it would be torch_holder_id.light:disable() replace light with sound and then light for other components.