Hi, ive made a script to kill the lights in a base when the player trips a trigger. There are two lights, so the trigger's "on activation" field i have:
[object 118906,object 173123] exec "Lights.sqs"
The script is as follows:
_light1 = _this select 0
_light2 = _this select 1
;wait 4 minuts for player to get into position
~240
;light 1 goes out
_light1 inflame false
~4
;light 2 goes out 4 seconds after light 1
_light2 inflame false
;lights are out for 11 mins
~660
;light 1 comes back on
_light1 inflame true
~4
;light 2 comes back on 4 seconds after light 1
_light2 inflame true
exit
Problem - The lights dont go out. Can anyone see what im doing wrong?
Thanks