Desired effect.. Player approaches NPC, they have a conversation.. NPC asks if he wants to Go Out On Mission Or Train First... Player replies.. has different conversation based on answer. Then NPC leads player to the Armory where at the end of the waypoints it loads 1 of 2 scripts based on payers decision earlier... they have another Conversation and then NPC leaves and goes to the TOC (another room) Where the NPC waits while Player picks his weapons and then either goes straight the the TOC for a mission brief (3rd conversation script with no waypoints)
ISSUE NPC has conversation then follows waypoints to 2nd location at armory.. when payer approaches has 2nd conversation but then wont pick up on 2nd set of waypoint leading from armory to TOC
Ok so this is a little complicated to explain.. in simple terms I'm using a highly modified version of Storyteller's Conversation script.. My code will be added below. the first script works fine.. NPC has conversation then follows way points from his office to the Armory. and switches to 2nd conversation script as designed.. but after conversation finishes he does not follow 2nd set of way points to the TOC.. I've also tried joining the waypoint sets and tried making all one string waypoints.. nothing works.
So the possible ways i can think of do it would be:
1.. Delete the first set of waypoints when he finishes following them. or when 2 script loads
2.. Give the 2 sets of waypoint unique names and specify in each script..
3.. make it all one long set waypoints and make him stop at a particular waypoint, have the conversation then continue along the way points and would probably have to combine both FPIs in to one
IS ANY OF THIS POSSIBILE?
Conversation Part 1
;Triggers
:state=0:animate=48,state=1
:state=1,plrcanbeseen,plrdistwithin=100:etimerstart,state=5
;//PLAYER
:state=5:fpgcrawtextsize=26,fpgcrawtextfont=verdana,fpgcrawtextr=000,fpgcrawtextg=000,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=80
:state=5:fpgcrawtext=Sir. Sgt MacLeod reporting to for duty. Sir.
:state=5,etimergreater=500,plrusingaction=1:state=6
:state=5,etimergreater=5000:state=6
:state=6:etimerstart,state=10
;//NPC
:state=10:rotatetoplr
:state=10:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=051,fpgcrawtextg=204,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=15
:state=10:fpgcrawtext=Sgt MacLeod. Welcome to Task Force 743. This is NSA Blacksite 129. We call it the Playground.
:state=10,etimergreater=500,plrusingaction=1:state=11
:state=10,etimergreater=5000:state=11
:state=11:etimerstart,state=15
;//PLAYER
:state=15:fpgcrawtextsize=26,fpgcrawtextfont=verdana,fpgcrawtextr=000,fpgcrawtextg=000,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=80
:state=15:fpgcrawtext=NSA? Sir, I thought Task Force was a CIA operation?
:state=15,etimergreater=500,plrusingaction=1:state=16
:state=15,etimergreater=5000:state=16
:state=16:etimerstart,state=20
;//NPC
:state=20:rotatetoplr
:state=20:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=051,fpgcrawtextg=204,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=15
:state=20:fpgcrawtext=Task Force 743 is CIA\NSA joint operation. It allows us to operate both overseas and at home.
:state=20,etimergreater=500,plrusingaction=1:state=21
:state=20,etimergreater=5000:state=21
:state=21:etimerstart,state=25
;//NPC
:state=25:rotatetoplr
:state=25:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=051,fpgcrawtextg=204,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=15
:state=25:fpgcrawtext=Speaking of which the team is spinning up for a domestic mission now.
:state=25,etimergreater=500,plrusingaction=1:state=26
:state=25,etimergreater=5000:state=26
:state=26:etimerstart,state=30
;//NPC
:state=30:rotateheadrandom=20
:state=30:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=051,fpgcrawtextg=204,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=15
:state=30:fpgcrawtext=You ready to go out on mission or do want to hit the firing range first?
:state=30,etimergreater=500,plrusingaction=1:state=31
:state=30,etimergreater=6000:state=31
:state=31:etimerstart,state=35
;//PLAYER-CHOICE OF 3
:state=35:fpgcrawtextsize=26,fpgcrawtextfont=verdana,fpgcrawtextr=000,fpgcrawtextg=000,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=80
:state=35:fpgcrawtext=<F1>Go on Mission. <F2>Goto Firing range.
:state=35,etimergreater=100000:state=35
:state=35,etimergreater=500,scancodekeypressed=59:etimerstart,state=50
:state=35,etimergreater=500,scancodekeypressed=60:state=100
;//Go on Mission
;//PLAYER
:state=50:fpgcrawtextsize=26,fpgcrawtextfont=verdana,fpgcrawtextr=000,fpgcrawtextg=000,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=80
:state=50:fpgcrawtext=I spent the last 10 yrs in the Green Berets. I've had plenty of range time.
:state=50,etimergreater=500,plrusingaction=1:state=51
:state=50,etimergreater=5000:state=51
:state=51:etimerstart,state=52
;//PLAYER
:state=52:fpgcrawtextsize=26,fpgcrawtextfont=verdana,fpgcrawtextr=000,fpgcrawtextg=000,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=80
:state=52:fpgcrawtext=I'm ready to hit the ground running.
:state=52,etimergreater=500,plrusingaction=1:state=53
:state=52,etimergreater=5000:state=53
:state=53:etimerstart,state=55
;//NPC
:state=55:rotatetoplr
:state=55:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=051,fpgcrawtextg=204,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=15
:state=55:fpgcrawtext=Great. Follow me. I'll take you to the armoury and get you geared up.
:state=55,etimergreater=500,plrusingaction=1:state=60
:state=55,etimergreater=5000:state=60
:state=60:fpgcrawtextoff
:state=60:state=70
;//NPC WALKING WAYPOINTS AND START PART 2 OF CONVERSATION - You need to set up 4 waypoints for the script to work
:state=70:waypointstart,animate=49,state=71
:state=71,waypointstate=3:waypointnext,animate=49,state=72
:state=72,waypointstate=3:waypointnext,animate=49,state=73
:state=73,waypointstate=3:waypointnext,animate=49,state=74
:state=74,waypointstate=5:animate=48,runfpi=A51_Project\Main\A51_CaptMoore_Convo_pt2.fpi
;//Goto Firing Range
;//PLAYER
:state=100:fpgcrawtextsize=26,fpgcrawtextfont=verdana,fpgcrawtextr=000,fpgcrawtextg=000,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=80
:state=100:fpgcrawtext=It been few months since i got out of the army, maybe I should get some trigger time and zero my weapon.
:state=100,etimergreater=500,plrusingaction=1:state=101
:state=100,etimergreater=5000:state=101
:state=101:etimerstart,state=105
;//NPC
:state=105:rotatetoplr
:state=105:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=051,fpgcrawtextg=204,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=15
:state=105:fpgcrawtext=Ok. Follow me. I'll take you to the armoury and get you a weapon.
:state=105,etimergreater=500,plrusingaction=1:state=190
:state=105,etimergreater=5000:state=190
:state=190:fpgcrawtextoff
:state=190:state=200
;//NPC WALKING WAYPOINTS AND VANISHING - You need to set up 8 waypoints for the script to work
:state=200:waypointstart,animate=49,state=210
:state=210,waypointstate=3:waypointnext,animate=49,state=220
:state=220,waypointstate=3:waypointnext,animate=49,state=230
:state=230,waypointstate=3:waypointnext,animate=49,state=240
:state=240,waypointstate=3:waypointnext,animate=49,state=250
:state=250,waypointstate=3:waypointnext,animate=49,state=260
:state=260,waypointstate=3:waypointnext,animate=49,state=270
:state=270,waypointstate=3:waypointnext,animate=49,state=280
:state=280,waypointstate=5:runfpi=A51_Project\Main\A51_CaptMoore_Convo_pt3.fpi
;End of Script
Conversation Part 2
;Triggers
:state=0:animate=48,state=1
:state=1,plrcanbeseen,plrdistwithin=100:etimerstart,state=10
;//NPC
:state=10:rotatetoplr
:state=10:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=051,fpgcrawtextg=204,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=15
:state=10:fpgcrawtext=This is the armoury. We call it the Toy Store.
:state=10,etimergreater=500,plrusingaction=1:state=11
:state=10,etimergreater=5000:state=11
:state=11:etimerstart,state=15
;//NPC
:state=15:rotatetoplr
:state=15:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=051,fpgcrawtextg=204,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=15
:state=15:fpgcrawtext=Take whatever you want. Got everything from M4s and AKs to grenade launchers and sniper rifles.
:state=15,etimergreater=500,plrusingaction=1:state=16
:state=15,etimergreater=5000:state=16
:state=16:etimerstart,state=20
;//NPC
:state=20:rotatetoplr
:state=20:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=051,fpgcrawtextg=204,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=15
:state=20:fpgcrawtext=Look around find what you like and meet me across the hall at the TOC for premission briefing.
:state=20,etimergreater=500,plrusingaction=1:state=21
:state=20,etimergreater=5000:state=21
:state=21:etimerstart,state=127
:state=127:fpgcrawtextoff
:state=127:state=200
;//NPC WALKING WAYPOINTS AND VANISHING - You need to set up 4 waypoints for the script to work
:state=200:waypointstart,animate=49,state=210
:state=210,waypointstate=3:waypointnext,animate=49,state=220
:state=220,waypointstate=3:waypointnext,animate=49,state=230
:state=230,waypointstate=3:waypointnext,animate=49,state=240
:state=240,waypointstate=5:runfpi=area51\test\A51_CaptMoore_Convo_pt4.fpi
;End of Script