Here u go..
Just follow the directions
FPM attached
;Artificial Intelligence Script
;Header
desc = Default Entity Behavior (Nothing)
;Set ''plrinzoneactivateifused'' as the trigger zone's main script, then put the dynamic entities name in the triggerzone's ''if used'' field. This tells it to activate the entity when the player enters the trigger zone
;Set this script as the entity you wish to destroys main script, and make it dynamic.
;Triggers
:state=0:state=1
:state=1,activated=1:destroy
:End of Script
Oh after looking at this I see you will need to add this script to a Light in the FPM file. My system is set for a game I am constructing and I forgot to reset settings.
Just open the FPM and add a white light If when you test the script it opens with a black screen,., I do not know how this works with different computers when it is not a BUILT game.,
;Artificial Intelligence Script
;1. Access the build game properties and set the ambient light to zero.
;2. Place a dynamic white light in your level and assign this script as its main script.
;3. To set ambiance to 0, you need to go to build game and change the global script, and to use it apply the script to a dynamic item or light
;4. Oh yes, this script must be applied to a dynamic light, press n to turn nv on or off, and f1-f4 to change what mode you are in
;f1-low
;f2-med
;f3-high
;f4-red eye
;The script will use the dynamic light to manipulate ambiance, but the light itself shouldn't cast any ambient light itself...
;Header
;This concept was created by Hybrid in Plystires "Script Challenges" Board
desc = Night Vision night_vision.fpi
;Triggers
:always:localvar=5
;:scancodekeypressed=59:setvar=1
;:scancodekeypressed=60:setvar=2
;:scancodekeypressed=61:setvar=3
;:scancodekeypressed=62:setvar=4
:state=0:setvar=2,state=3
;:state=1,scancodekeypressed=49:state=2
;:state=2,scancodekeypressed=0:state=3
;:state=3,varequal=1:ambiencegreen=255,ambienceblue=0,ambiencered=0,ambience=20
:state=3,varequal=2:ambiencegreen=255,ambienceblue=0,ambiencered=0,ambience=40
;:state=3,varequal=3:ambiencegreen=255,ambienceblue=0,ambiencered=0,ambience=80
;:state=3,varequal=4:ambiencegreen=0,ambienceblue=0,ambiencered=255,ambience=60
:state=3,scancodekeypressed=49:,ambience=0,ambienceblue=255,ambiencegreen=255,ambiencered=255,state=4
:state=4,scancodekeypressed=0:state=0
;End of Script