;Artificial Intelligence Script

;Header

desc          = Lid (Push Open)

;Triggers

:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\huds\Graveyard\lidmove.dds,hudname=lidslide,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=80:hudshow=lidslide,hudfadeout=lidslide

:state=10,plrdistwithin=80,plrusingaction=1:activate=2
:state=10,activated=2:state=1,setframe=0,sound=audiobank\Graveyard\woodcoffopen.wav
:state=1:incframe=0
:state=1,frameatend=0:state=2
