Posted: 1st Jul 2012 02:27
Ok I change the addresses to my dds files and then added my files in the script.
When I run this script with aiko talker it only plays talk1 and when I back away and try it again it repeats talk1. It never advances to talk2.
Can anybody help me with this script? I'm running v1.18
;Created by Benjamin Aeilkema
;Modded by Wraith Staff
;This is a talking script that gives you a choice in what you say.
;When you walk away and come back the text resets.
;Can be used with multiple talking NPCs with slight changes.
;Header
desc = Multiple choice conversations
;Triggers
:state=0:plrdistwithin=60,hudreset,hudx=50,hudy=90,hudimagefine=gamecore\huds\mike\mayo.dds,hudname=talk1,hudhide=1,hudmake=display
:state=0:plrdistwithin=60,hudreset,hudx=50,hudy=90,hudimagefine=gamecore\huds\mike\choice.dds,hudname=talk2,hudhide=1,hudmake=display
:state=0:plrdistwithin=60,hudreset,hudx=50,hudy=90,hudimagefine=gamecore\huds\mike\1.dds,hudname=talk3,hudhide=1,hudmake=display
:state=0:plrdistwithin=60,hudreset,hudx=50,hudy=90,hudimagefine=gamecore\huds\mike\2.dds,hudname=talk4,hudhide=1,hudmake=display
:state=0:plrdistwithin=60,hudreset,hudx=50,hudy=90,hudimagefine=gamecore\huds\mike\3.dds,hudname=talk5,hudhide=1,hudmake=display
:state=0:plrdistwithin=60,hudreset,hudx=50,hudy=90,hudimagefine=gamecore\huds\mike\4.dds,hudname=talk6,hudhide=1,hudmake=display,state=10
;Welcome message
:state=10,plrdistwithin=60:rotatetoplr
:state=10,plrdistwithin=60:rotatetoplr,hudshow=talk1,hudfadeout=talk1
:state=10,plrdistfurther=60:hudhide=talk1,state=10
:state=10,plrusingaction=1:timerstart,state=15
:state=15,timergreater=500:state=20
;Choices
:state=20,plrdistwithin=60:rotatetoplr,hudshow=talk2,hudfadeout=talk2
:state=20,plrdistfurther=60:hudhide=talk2,state=20
:state=20,scancodekeypressed=79:timerstart,state=25
:state=20,scancodekeypressed=80:timerstart,state=26
:state=20,scancodekeypressed=81:timerstart,state=27
:state=25,timergreater=500:state=30
:state=26,timergreater=500:state=40
:state=27,timergreater=500:state=50
;Tuna...
:state=30,plrdistwithin=60:rotatetoplr,hudshow=talk3,hudfadeout=talk3
:state=30,plrdistfurther=60:hudhide=talk3,state=10
:state=30,plrusingaction=1:timerstart,state=35
:state=35,timergreater=500:state=60
;Ramen...
:state=40,plrdistwithin=60:rotatetoplr,hudshow=talk4,hudfadeout=talk4
:state=40,plrdistfurther=60:hudhide=talk4,state=10
:state=40,plrusingaction=1:timerstart,state=45
:state=45,timergreater=500:state=60
;Apples... DEATH!
:state=50,plrdistwithin=60:rotatetoplr,hudshow=talk5,hudfadeout=talk5
:state=50,plrdistfurther=60:hudhide=talk5,state=10
:state=50,plrusingaction=1:timerstart,state=55
:state=55,timergreater=500:plraddhealth=-300
;I'm leaving now!
:state=60,plrdistwithin=60:rotatetoplr,hudshow=talk6,hudfadeout=talk6
:state=60,plrdistfurther=60:hudhide=talk6,state=10
:state=60,plrusingaction=1:timerstart,state=65
:state=65,timergreater=500:state=2
:state=2,plrdistfurther=60:state=10
;End of Script