;artificial intelligence script
desc = destroy after 5 seconds and activate ifused
;triggers
:state=0,varequal=picked 1:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\doorcharge.dds,hudname=dc,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=60:hudshow=dc,hudfadeout=dc
:state=10,plrdistwithin=60,scancodekeypressed=50:settargetname=c4charge,activatetarget=1,etimerstart,state=1,sound=audiobank\user\alarm.wav
:state=1,etimergreater=3000:runfpidefault=2,activateifused=1
;end of script
from
:plrdistwithin=60,scancodekeypressed=50:
to
:state=10,plrdistwithin=60,scancodekeypressed=50:
u could use charge on door etc without picking it up first lol.
New repacked pack in the post here with fixed scripts.