ok i have a script where you pickup a object (like goggles) and you press "f" and and it diplays a hud picture and then you always have it.
;Header
desc = Flashlight Script (on/off)
;Triggers
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore/text/zoom.dds,hudname=flashlight,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=30:state=1,setalphafade=0,coloff,plrsound=audiobank/miscpick.wav
:state=1,scancodekeypressed=33:hudshow=flashlight,state=2
:state=2,scancodekeypressed=33:ambience=30,ambiencegreen=180,state=3
:state=3:state=4
:state=4,scancodekeypressed=33:state=3
:state=4:state=5
:state=5,scancodekeypressed=33:hudunshow=flashlight,state=6
:state=5:state=7
:state=6,scancodekeypressed=33:ambience=30,ambiencegreen=180,state=5
:state=7,scancodekeypressed=33:state=5
:state=7:state=1
;End of Script
now what i was trying to do was change the ambience of the lighting to green (like nightvision) but i can't get it to work. i know nothing about scripting. so if someone please fix this for me. it would be a big help.
When everything's coming your way, your in the wrong lane.