Banter problems
#1
Posted 07 August 2004 - 09:15 AM
I'm having a problem getting my banters to work. I'll post this one as an example, as it's the one i'm testing. (BTW these all compile fine with no errors)
CHAIN
IF ~InParty("BR#Brag")
See("BR#Brag")
!StateCheck("BR#Brag",STATE_SLEEPING)
Global("BragViccy","LOCALS",0)~ THEN BVICONI viccy1
~Blah Blah Blah~
DO ~SetGlobal("BragViccy","LOCALS",1)~
== BBR#Bra
~Blah Blah.~
== BVICONI
~Blah Blah Blah.~
== BBR#Bra
Etc....
END
Viconia says her line with no problems, but when it comes to Brage the banter cuts out and goes back to the game
Any ideas?
BTW I've tried changing the LOCALS for GLOBAL and the END for EXIT. Both make no difference.
#2
Posted 07 August 2004 - 09:36 AM
Then, are you sure that the banter-dlg for Brage is BBR#Bra? Would you mind posting the APPEND ~pdialog.2da~-section from the tp2?
Here's a working banter from Hubelpot:
CHAIN IF ~InParty("Minsc") See("Minsc") !StateCheck("Minsc",STATE_SLEEPING) Global("SC#HubMin","LOCALS",0)~ THEN BSC#Hub min1 ~Blah?~ DO ~SetGlobal("SC#HubMin","LOCALS",1)~ == BMINSC ~Blah?~ == BSC#Hub ~Blah!~ == BMINSC ~Blah.~ == BSC#Hub ~Blah!~ == BMINSC ~Blah.~ == BSC#Hub ~Blah?~ == BMINSC ~Blah?~ == BSC#Hub ~Blah!~ == BMINSC ~Blah!~ == BSC#Hub ~Blah.~ EXIT
Khadion NPC mod - Team leader, head designer
Hubelpot NPC mod - Team leader, coder
NPC Damage - Coder
PC Soundsets - Coder, voice actor
Brythe NPC mod - Designer
DragonLance TC - Glory of Istar - Designer
The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
The Jerry Zinger Show - Producer
Iron Modder 5 - Winner
#3
Posted 07 August 2004 - 09:40 AM
APPEND ~pdialog.2da~
~BR#Brag BR#BragP BR#BragJ BR#BragD~
UNLESS ~BR#Brag~
UNLESS ~25POST~
I thought it went DV, Kickout, Join/Interject, Dream?
Is banter part of the J as well?
#4
Posted 07 August 2004 - 09:41 AM
My bad.
Khadion NPC mod - Team leader, head designer
Hubelpot NPC mod - Team leader, coder
NPC Damage - Coder
PC Soundsets - Coder, voice actor
Brythe NPC mod - Designer
DragonLance TC - Glory of Istar - Designer
The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
The Jerry Zinger Show - Producer
Iron Modder 5 - Winner
#5
Posted 07 August 2004 - 10:02 AM
APPEND ~interdia.2da~
~BR#Brag BBR#Bra.d~
UNLESS ~BR#Brag~
UNLESS ~25FILE~
#6
Posted 07 August 2004 - 10:03 AM
Khadion NPC mod - Team leader, head designer
Hubelpot NPC mod - Team leader, coder
NPC Damage - Coder
PC Soundsets - Coder, voice actor
Brythe NPC mod - Designer
DragonLance TC - Glory of Istar - Designer
The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
The Jerry Zinger Show - Producer
Iron Modder 5 - Winner
#7
Posted 07 August 2004 - 10:16 AM
#8
Posted 07 August 2004 - 10:18 AM
Khadion NPC mod - Team leader, head designer
Hubelpot NPC mod - Team leader, coder
NPC Damage - Coder
PC Soundsets - Coder, voice actor
Brythe NPC mod - Designer
DragonLance TC - Glory of Istar - Designer
The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
The Jerry Zinger Show - Producer
Iron Modder 5 - Winner
#9
Posted 07 August 2004 - 10:26 AM
I'm pretty sure you shouldn't be using the .d extension when appending to your interida.2da. Try removing that and see if it works.Sure...
APPEND ~interdia.2da~
~BR#Brag BBR#Bra.d~
UNLESS ~BR#Brag~
UNLESS ~25FILE~
#10
Posted 07 August 2004 - 10:28 AM
@SConrad I mailed you the .d
#11
Posted 07 August 2004 - 10:33 AM
Cheers guys
#12
Posted 07 August 2004 - 10:36 AM
I need to get bigger glasses...I'm pretty sure you shouldn't be using the .d extension when appending to your interida.2da. Try removing that and see if it works.Sure...
APPEND ~interdia.2da~
~BR#Brag BBR#Bra.d~
UNLESS ~BR#Brag~
UNLESS ~25FILE~
Khadion NPC mod - Team leader, head designer
Hubelpot NPC mod - Team leader, coder
NPC Damage - Coder
PC Soundsets - Coder, voice actor
Brythe NPC mod - Designer
DragonLance TC - Glory of Istar - Designer
The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
The Jerry Zinger Show - Producer
Iron Modder 5 - Winner