Hi,
I made a set of scripts to control the colour of a dynamic light remotely.
The script needs to be in the START fpi:
;Artificial Intelligence Script
;Created for SmashTV Remake by Ched 24.03.2011
;Header
;All lights appear OFF
desc = Set the light initially OFF
;Triggers
:state=0:lightoff,runfpidefault=1
;End of Script
Then you'll need t add the following to the MAIN fpi.
;Created for SmashTV Remake by Ched 23.03.2011
;Header
;This script controls the light based on its activation level
desc = Controls light based on activation level
;1 - default light
;10 - bright white
;20 - bright yellow
;30 - bright red
;40 - bright blue
;50 - bright green
;Triggers
:activated=10:lightblue=255,lightgreen=255,lightred=255,lighton,activate=1
:activated=20:lightblue=0,lightgreen=255,lightred=255,lighton,activate=1
:activated=30:lightblue=0,lightgreen=0,lightred=255,lighton,activate=1
:activated=40:lightblue=255,lightgreen=0,lightred=0,lighton,activate=1
:activated=50:lightblue=0,lightgreen=255,lightred=0,lighton,activate=1
;light off
:activated=666:lightoff,activate=1
;End of Script
You can customize the colours or just add more by adding additional activation levels as you wish.
You can then change the colour using a trigger zone or other entity by setting the light as a target (via "settargetname=" for example) and then setting the activation level of the light (via "activatetarget=X or something similar).
Hope it's of some use to someone.
[url="http://raptr.com/No_Turn_Right?src=em_forum"]

[/url]