movelightfollowplr is used if you want to make a flashlight and the light follows the plr.
Here an example script :-
;Artificial Intelligence Script
;Header
desc = Flashlight
;Triggers
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\text\flash.dds,hudname=flash,hudhide=1,hudmake=display,state=1
:state=1:movelighttype=1,movelightid=1,movelightoff,movelightrange=400,movelightred=255,movelightgreen=255,movelightblue=255,state=2
:state=2:movelightfollowplr,state=2
:state=2,scancodekeypressed=33:hudshow=flash,movelighton,state=3
:state=3:movelightfollowplr,state=3
:state=3,scancodekeypressed=0:state=4
:state=4:movelightfollowplr,state=4
:state=4,scancodekeypressed=33:hudunshow=flash,movelightoff,state=5
:state=5:movelightfollowplr,state=5
:state=5,scancodekeypressed=0:state=2
;End Of Script
Just change the hud to whatever you want and set it up by adding a dynamic light and using this script as the main script.
Press f to switch on and off.
I forgot to say that these lighting does not work with the new shaders like moving lights does.
Hope this helps
Best s4real
Amd fx4100,6gb ram,geforce 450