You've read the title , I'm about to get bananas in here . That program is gonna kill me soon . I was working on a script that shows HUDs and plays sounds , the script simply refuses to work . I checked HUDs paths , sounds paths and script syntax about 10 times . NO MISTAKES . In the end It got fixed by changing this :
;Artificial Intelligence Script
;Header
desc = Switch Activate (toggle on and off)
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=custom\ascs1.png,hudname=ASCS1,hudhide=1,hudmake=display,state=10
:state=10:hudreset,hudx=50,hudy=90,hudimagefine=custom\ascs2.png,hudname=ASCS2,hudhide=1,hudmake=display,state=11
:state=11:hudreset,hudx=50,hudy=90,hudimagefine=custom\ascs3.png,hudname=ASCS3,hudhide=1,hudmake=display,state=12
:state=12:hudreset,hudx=50,hudy=90,hudimagefine=custom\ascs4.png,hudname=ASCS4,hudhide=1,hudmake=display,state=13
:state=13:hudreset,hudx=50,hudy=90,hudimagefine=custom\ascsoperate.png,hudname=ASCSOP,hudhide=1,hudmake=display,state=1
:state=1,pickobject=1,plrdistwithin=80:hudshow=hand,hudshow=ASCSOP,state=2
:state=2,pickobject=0:hudunshow=hand,hudunshow=ASCSOP,state=1
:state=2,plrdistfurther=80:hudunshow=hand,hudunshow=ASCSOP,state=1
:state=2,keypressed=18 1:hudunshow=hand,hudunshow=ASCSOP,hudshow=ASCS1,sound=audiobank\custom\ALES\ALES4.wav,state=3
:state=3,soundfinished=1:state=4,etimerstart,hudunshow=ASCS1,hudshow=ASCS2,sound=audiobank\custom\ALES\ALES5.wav
:state=4,etimergreater=9000:state=5,hudunshow=ASCS2,hudshow=ASCS3
:state=5,soundfinished=1:state=6,etimerstart,hudunshow=ASCS3,hudshow=ASCS4,sound=audiobank\custom\ALES\ALES6.wav
:state=6,etimergreater=2000:hudunshow=ASCS4,state=7
into this :
desc = Zombie Surgeon Follow and Slash
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=custom\ascs1.png,hudname=ASCS1,hudhide=1,hudmake=display,state=10
:state=10:hudreset,hudx=50,hudy=90,hudimagefine=custom\ascs2.png,hudname=ASCS2,hudhide=1,hudmake=display,state=11
:state=11:hudreset,hudx=50,hudy=90,hudimagefine=custom\ascs3.png,hudname=ASCS3,hudhide=1,hudmake=display,state=12
:state=12:hudreset,hudx=50,hudy=90,hudimagefine=custom\ascs4.png,hudname=ASCS4,hudhide=1,hudmake=display,state=13
:state=13:hudreset,hudx=50,hudy=90,hudimagefine=custom\ascsoperate.png,hudname=ASCSOP,hudhide=1,hudmake=display,state=1
:state=1,pickobject=1,plrdistwithin=80:hudshow=hand,hudshow=ASCSOP,state=2
:state=2,pickobject=0:hudunshow=hand,hudunshow=ASCSOP,state=1
:state=2,plrdistfurther=80:hudunshow=hand,hudunshow=ASCSOP,state=1
:state=2,keypressed=18 1:hudunshow=hand,hudunshow=ASCSOP,hudshow=ASCS1,sound=audiobank\custom\ALES\ALES4.wav,state=3
:state=3,soundfinished=1:state=4,etimerstart,hudunshow=ASCS1,hudshow=ASCS2,sound=audiobank\custom\ALES\ALES5.wav
:state=4,etimergreater=9000:state=5,hudunshow=ASCS2,hudshow=ASCS3
:state=5,soundfinished=1:state=6,etimerstart,hudunshow=ASCS3,hudshow=ASCS4,sound=audiobank\custom\ALES\ALES6.wav
:state=6,etimergreater=2000:hudunshow=ASCS4,state=7
Seriously ! That's it ! I changed the general look ! that was the problem that got me hooked for over an hour ! can anyone explain this ?
Sorry for panic but this but I'm kinda crazy at the moment . Why didn't the first one work and why did the second one work ?
"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest