I'm working on fps creator 1.20 beta. I've tried every flashlight script but it seems that this is the only one that works for me:
;Artificial Intelligence Script
;Created by Corno
;Header
desc = flashlight (disable < > keys)
;Triggers
:always:ambience=4,ambiencered=255,ambiencegreen=255,ambienceblue=255
:state=0:flashlightrange=500
:state=0:flashlightblue=255,flashlightgreen=255,flashlightred=255
:state=0:hudreset,hudx=50,hudy=50,hudsizex=1024,hudsizey=768,hudimagefine=gamecore\huds\cornohuds\flashlight.dds,hudname=flash,hudhide=1,hudmake=display,State=1
:State=1,KeyPressed=33 1:flashlight=1,hudshow=flash,etimerstart,State=2,Sound=AudioBank\Switches\Click.wav,state=2
:State=2,KeyPressed=33 0:State=3
:state=3,keypressed=33 1:flashlight=0,hudunshow=flash,state=4
:state=4,keypressed=33 0:state=1
;End of Script
i want to be able to pick up a flash light first and batteries in order to use flashlight. Over time the battery will decrease, and decreasing light as well. I''ve tried this:
http://forum.thegamecreators.com/?m=forum_view&t=179916&b=23
and it doesnt work. Can anyone help me?