I am trying to make a script where you walk into a trigger zone and the light flickers the turns on. Im a huge noob at scripting.
Its by xplosys but im tweaking it
;Artificial Intelligence Script
; by xplosys
;Header
desc = Light Start (florescent light starting)
;Triggers
:state=0:lightoff,timerstart,state=1
:state=1,activated=1:lighton,state=0
:state=2,activated=0:lightoff,state=1
:state=3,timergreater=600:lighton,state=4
:state=4,timergreater=650:lightoff,state=5
:state=5,timergreater=1200:lighton,state=6
:state=6,timergreater=1300:lightoff,state=7
:state=7,timergreater=1400:lighton,state=8
:state=8,timergreater=1550:lightoff,state=9
:state=9,timergreater=1600:lighton,state=10
:state=10,timergreater=1800:lightoff,state=11
:state=11,timergreater=1900:lighton,state=12
:state=12,timergreater=2000:lightoff,state=13
:state=13,timergreater=2050:lighton,state=14
;End of Script
Go to lostcontact.org