May be cheaper as part of a pack


Turn on/off the light or group of lights (they should have the same name).
Version: 1.0

- Script for light switch
- Script for the lights
- Sound of turning on/off the light ("switch1.wav")

How to use:
1) Add for the light switch script "light_switch.lua"
(Set the object to staticmode = No)
(Is Immobile = Yes)
(If Used = light's (or group of lights) name (with "Acid\light_activated_on_off.lua"))
(Sound0 = Sound of Sound of turning on (in example "switch1.wav"))
(Sound1 = Sound of Sound of turning off (in example "switch1.wav"))

2) Add for the light(s) script "light_activated_on_off.lua"
(Set the light to staticmode = No)

If you liked the script, please leave a comment in my thread:


light switch on off turn lighting

Product Details

Artist: Acid
Category: GameGuru Scripts
Sub Category: Interaction
Sales: 26

Engine Support

GameGuru Yes


No comments yet

You must Login or Register to leave comments.

Included in

Related Products