;Artificial Intelligence Script
Flahlight script
;Header
desc = flashlight s4real
;Triggers
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\text\flash.dds,hudname=flash,hudhide=1,hudmake=display,state=1
:state=1,scancodekeypressed=33:hudshow=flash,sound=audiobank\flashswitch\flash.ogg,ambience=40,state=2
:state=2,scancodekeypressed=0:state=3
:state=3,scancodekeypressed=33:hudunshow=flash,sound=audiobank\flashswitch\flash.ogg,ambience=10,state=4
:state=4,scancodekeypressed=0:state=1
That is my flashlight script. I want it for FPSC x10.
And when i try to use it, it says when it try to test the game. When it says "Loading textures(2) 99%" , i get error "FPSC Game has stop working" , and when i ddin't use the flashlight script it did work. So it is becouse the script. Can anyone give me a better flashlight script? And when the flashlight is off the ambient light shall be 10.
www.x10community.ath.cx