Let's take a look at the code in question.
;Artificial Intelligence Script
;Header
desc = Light Flicker
;Triggers
:state=0:state=1
:state=1,activated=1:state=2
:state=1,random=10:state=2
:state=1:lighton,state=0
:state=2:lightoff,state=0
;End of Script
Notice the following line...
:state=1,activated=1:state=2
You would need a
Trigger to
activateifused=1 where as the
Light is named in the
IFUSED field of the Trigger.
All activating it would do is to turn the light off (state=2).
If you'd rather not use a Trigger, then simply put a semicolon ( ; ) in front of that line to comment it out.
Or, you could simply delete the whole line. Either way, the Script won't require a Trigger.
;Artificial Intelligence Script
;Header
desc = Light Flicker
;Triggers
:state=0:state=1
;:state=1,activated=1:state=2
:state=1,random=10:state=2
:state=1:lighton,state=0
:state=2:lightoff,state=0
;End of Script
Now, the Light will Flicker constantly.
Of course you need to do a few things to make the script work...
(1) Place a light inside a room.
(2) Right click the Light and set STATIC MODE to NO.
(3) Also, set the Light's AIMAIN to the modified Script.
Hope this helps.