Hey. I'm trying to make a weapon purchasing script using Wraith Staff's multitalk script but it wont spawn the weapons.
both weapons are set to
-spawn at start? no
-spawn after delay? yes
and the first gun's name is set to "shopgun1"
and the second to "shopgun2"
Can anybody see why the weapons wont show up?
;Artificial intelligence script
;Header
Desc = armory script (give to the guy working at the armory)
;triggers
;dialouge pictures
:state=0:plrdistwithin=60,hudreset,hudx=50,hudy=90,hudimagefine=gamecore\huds\scifi1\armorymaster(dialouge1).tga,hudname=talk1,hudhide=1,hudmake=display
:state=0:plrdistwithin=60,hudreset,hudx=50,hudy=90,hudimagefine=gamecore\huds\scifi1\gun1.tga,hudname=gun1,hudhide=1,hudmake=display
:state=0:plrdistwithin=60,state=10
;Dialouge: "can i intrest you in a weapon?"
:state=10,plrdistwithin=60:rotatetoplr
:state=10,plrdistwithin=60:rotatetoplr,hudshow=talk1,hudfadeout=talk1
:state=10,plrdistfurther=60:hudhide=talk1,state=10
:state=10,scancodekeypressed=2:timerstart,state=15
:state=10,scancodekeypressed=3:timerstart,state=60
;backspace to leave
:state=10,scancodekeypressed=14:state=60
:state=15,timergreater=200:state=20
;Dialouge: pick your gun using 1 and 2
:state=20,plrdistwithin=60:rotatetoplr,hudshow=gun1,hudfadeout=gun1
:state=20,plrdistfurther=60:hudhide=gun1,state=10
:state=20,scancodekeypressed=2:timerstart,state=25
:state=20,scancodekeypressed=3:timerstart,state=26
;Dialouge: "see you later"
:state=60,plrdistwithin=60:rotatetoplr,hudshow=,hudfadeout=
:state=60,plrdistfurther=60:hudhide=,state=10
:state=60,plrusingaction=1:timerstart,state=65
:state=65,timergreater=200:state=2
:state=2,plrdistfurther=60:state=10
;weapons
;weapon: shopgun1
:state=25:activate=shopgun1,state=2
;weapon: shopgun2
:state=26:activate=shopgun2,state=2
;End of script