I a m tryin gto get two audio files to play when the player shoots and kills the enemy. I have messed around with this code trying to get it to work for a few hours now. I can get it to play the first audio, which is "enemy down". But I can't seem to get the second one to work.
I thought I could use the timerstart and timergreater to create the delay between the fist audio file and the second which is "moving out" can you help me out. Ive tried searching it out but can't seem to find what I am looking for.
;Artificial Intelligence Script
;Header
desc = tANGO dOWN MOVING OUT
;Triggers
:state=0:state=1
:state=1:destroy,state=2
:STATE=2:PLRSOUND=AUDIOBANK\341\A12.WAV
:STATE=4:TIMERSTART,STATE=5
:STATE=5,TIMERGREATER=500:PLRSOUND=aUDIOBANK\34\A26.WAv