Something like this? The first one shows a hud for 5 seconds (etimergreater=5000) and then the hud is removed. The script will loop back once the player leaves the zone.
;Artificial Intelligence Script
;Header
desc = L01 Access Door 001 Hud
;Triggers
:state=0:hudreset,hudx=50,hudy=25,hudimagefine=languagebank\english\gamecore\Huds\myhud.tga,hudname=myhud,hudhide=1,hudmake=display
:state=0:state=1
:state=1,plrwithinzone=1:state=2
:state=2:hudshow=myhud,etimerstart,state=3
:state=3,etimergreater=5000:hudunshow=myhud,etimerstart,state=4
:state=4,etimergreater=100:state=5
:state=5,plrwithinzone=0:state=1
;End of Script
Or, if you want the player to press a key to make the hud disappear (in the following the ENTER key is used [scancodekeypressed=28]), you can do this:
;Artificial Intelligence Script
;Header
desc = L01 Access Door 001 Hud
;Triggers
:state=0:hudreset,hudx=50,hudy=25,hudimagefine=languagebank\english\gamecore\Huds\myhud.tga,hudname=myhud,hudhide=1,hudmake=display
:state=0:state=1
:state=1,plrwithinzone=1:state=2
:state=2:hudshow=myhud,etimerstart,state=3
:state=3,etimergreater=100,scancodekeypressed=28:hudunshow=myhud,etimerstart,state=4
:state=4,etimergreater=100:state=5
:state=5,plrwithinzone=0:state=1
;End of Script
Hope that helps get you started.
- BlackFox
The function of good software is to make the complex appear to be simple.