;Artificial Intelligence Script
;Header
desc = (Player's phobia begins to kick in around 10 seconds of being in darkness, State 0= Blur
from Terror, 1= begining to loose it, 3= insane, 4=Blackout/collapse sound for around 10 seconds.)
;Triggers
:state=0:timergreater=10000,hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\Sanity\001.dds,hudname=sanit
y001,hudhide=1,hudmake=display:state=1
:state=1:timergreater=5000,hudimagefine=gamecore\huds\sanity\002.dds,hudname=sanity002,sound=audiobank\player_reactions\sigh2.wav:state=3
:state=3:timergreater=6000,hudhide=1,hudimagefine=gamecore\huds\sanity\003.dds,hudname=sanity003,sound=audiobank\player_reactions\scared3.wav,sound=audiobank\player_reactions\breath1.wav:State=4
:state=4:timergreater=8000,hudhide=1,hudimagefine=gamecore\huds\sanity\blackout.dds,loopsound=audiobank\player_reactions\insaneloop.wav,sound=audiobank\player_reactions\collapse.wav:state=5
:state=5:timergreater=10000,stopsound,sound=audiobank\player_reactions\recover.wav,hudreset:State=0
;End of Script
Thought i upload the bases of the code, the Lantern uses the bases of EAI's LED lights, so anyway to detect them being on will be welcome