After you read that, then you can study this
;Artificial Intelligence Script
;Header
desc = Hit Enter For Display
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\user\yourimage.dds,hudname=yourhudname,hudhide=1,hudmake=display,state=1
:state=1,plrwithinzone=1,plrusingaction=1:state=2
:state=2,plrusingaction=0:hudshow=yourhudname,state=3
:state=3,plrusingaction=1:state=4
:state=4,plrusingaction=0:hudunshow=yourhudname,state=1
;End of Script
.
If you read his guide then you will know what to do with it.