@Gamer X's noob challenge
i got this script for the entity's main
;Artificial Intelligence Script
;Header
desc = activate if plr pickup, and show huds
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pickedupanitem.tga,hudname=itemprompt,hudhide=1,hudmake=display,state=10,coloff,activateifused=1
:state=10,plrdistwithin=40:state=1,playertake,plrsound=$0,hudshow=itemprompt,hudfadeout=itemprompt
:state=1,scancodekeypressed=35:plrsound=$1,playerdrop,hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\droppedanitem.tga,hudname=itempromt,hudhide=1,hudmake=display,state=11,coloff,activateifused=0
:state=11,plrdistfurther=1:plrsound=$0,hudshow=itemprompt,hudfadeout=itemprompt
:state=2,plrdistfurther=45:state=10
;End of Script
and the lightoff.fpi for the light but it doesn't seem to work, what am i doing wrong?
sorry for my bad english (i am dutch)