I am making a script where you have a canteen (its not near being finished), and if you dont drink water when prompted, you, well, die!!
but it wont display the canteen.tga image i created and i KNOW i did it right (i think!)
could anyone tell me what i am doing wrong?
;Artificial Intelligence Script
;Header
desc = canteen. dont drink and you die bubs!
;Triggers
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamescoremeine eye hudcanteen.tga,hudname=canteen,hudhide=1,hudmake=display
:state=0:hudreset,hudx=80,hudy=90,hudimagefine=gamescoremeine eye hudcanteen water2.tga,hudname=canteenw2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=80,hudy=90,hudimagefine=gamescoremeine eye hudcanteen water3.tga,hudname=canteenw3,hudhide=1,hudmake=display
:state=0:hudreset,hudx=80,hudy=90,hudimagefine=gamescoremeine eye hudcanteen water4.tga,hudname=canteenw4,hudhide=1,hudmake=display
:state=0:hudreset,hudx=80,hudy=90,hudimagefine=gamescoremeine eye hudcanteen water5.tga,hudname=canteenw5,hudhide=1,hudmake=display
:state=0:hudreset,hudx=80,hudy=90,hudimagefine=gamescoremeine eye hudcanteen waterEMPTY.tga,hudname=canteenwemp,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudsize=40,hudtext=I need a drink,hudname=needrink,hudhide=1,hudmake=display,
:state=0:hudreset,hudx=50,hudy=90,hudsize=28,hudtext='c' to use canteen,hudname=keyneedrink,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudsize=40,hudtext=You have died of thirst,hudname=died,hudhide=1,hudmake=display,state=1
:state=1:hudshow=canteen,state=2
:state=2:timerstart
:state=2,timergreater=20000:hudshow=needrink,hudshow=keyneedrink,state=3
:state=3:timerstart,state=4
:state=4,scancodekeypressed=46:hudshow=canteenw2,state=5
:state=5,timergreater=4000:hudshow=died
;End of Script
It is well that war is so terrible or we should grow too fond of it- Robert E Lee