Hey there! I'm working on a script but im having a problem with it. I want it so when you walk up close to the PDA, it will show a HUD that says 'Transmit Audio Log?', and once you press enter on it, a timer starts (the duration of the audio log), the player freezes (Airmod), the Audio log sound plays, and a 'Transmitting..' HUD shows. When the timer is greater than the duration of the audio log, you are unfrozen, the 'Transmitting..' HUD is unshown and the 'Transmit Audio Log?' will no longer show the next time you walk up to it. Here is what I have so far:
;Artificial Intelligence Script
;Header
desc = Audio Log PDA
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\huds\viewaudiolog.tga,hudname=viewaudiolog,hudhide=1,hudmake=display,state=1
:state=1,plrdistwithin=40:hudshow=viewaudiolog,hudfadeout=viewaudiolog
:state=1,plrdistwithin=40,plrusingaction=1:plrsound=audiobank\audiologs\log1.ogg,plrfreeze=1,timerstart,state=2
:state=2:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\huds\transmitting.tga,hudname=transmitting,hudhide=1,hudmake=display,state=3
:state=3,timergreater=5000:hudfadeout=transmitting,plrfreeze=0,state=4
:state=4
;End of Script
I would be happy to release the script and media for everyone to use once I can get it working