All I want to do is walk up to an endtable with a note on it. As I come within viewing range, I want a HUD to pop up that tells me what is on the letter.
This little code is giving me fits and I know I'm just doing something stupid again..
;Artificial Intelligence Script
desc = Display Note And Make Sound Within Zone
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore/huds/Professorletter.dds,hudname=professornote,hudhide=1,hudmake=display,state=1
:state=1,plrdistfurther=80,state=0
:state=1,plrdistwithin=60,plrsound=audiobank/items/healthup.wav,hudshow=professornote,state=2
:state=2,hudunshow=professornote,state=1
;End of Script
Any Help Greatly Appreciated
Gary