I suppose with the new variable system would be very easy make your script
;Artificial Intelligence Script
;Header
desc = Pickup Item
;Triggers
:state=0:dimvar=obj,setvar=0
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pickedupanitem.tga,hudname=itemprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=40:state=1,playertake,coloff,plrsound=audiobank\misc\ping.wav,hudshow=itemprompt,hudfadeout=itemprompt,setvar=1
:state=1:rundecal=5
;End of Script
And this scripts for objectives (?)
;Artifical Intelligence Script::::::::::::::::::::::::::
desc = Shows Objectives Text HUD (When O Key Is Pressed)
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\phobia2\obj\lvl1.dds,hudname=objectives,hudhide=1,hudmake=display
;O Key Pressed
:state=0:dimvar=obj,state=1
:state=1,varequal=1,scancodekeypressed=24:state=2
:state=1:hudunshow=objectives
:state=2:hudshow=objectives,state=1
;End of Script
You need 1.17 to make this script work, not tested yet but it should work
SCI FI MEDIA IS NEVER ENOUGH!