I'm having a bit of trouble making this script. It's supposed to give the player a weapon after I press 'okok', and show an HUD that tells me the cheat was activated. Here's my script, so far:
;Artificial Intelligence Script
;Header
desc = Cheats
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\huds\cheat2.dds,hudname=cheat,hudhide=1,hudmake=display,state=1
:state=1,scancodekeypressed=24:state=2
:state=2,scancodekeypressed=37:state=3
:state=3,scancodekeypressed=24:state=4
:state=4,scancodekeypressed=37:state=5
:state=5:hudshow=cheat,giveweap=Model pack 6\MSG90,timerstart,state=6
:state=6,timergreater=200:hudfadeout=cheat,state=7
:state=7:destroy
;End of Script
It doesn't show the HUD, nor give me the weapon. I'm 99.9% sure the file path to the HUD is correct. I attached this to the 'Main' script second of a Dynamic Entity. The MSG90 that I was trying to give was on the level. Any suggestions?
Scrabble is not my thing. X_X