NPC dialogs
#1
Posted 29 June 2004 - 04:51 PM
Note: I actually only have the IM#DALE, the IM#DALP, and soon I will have a BIM#DAL, but i was using the NPC making tutorial and didn;t know what this part really did. How do i get the NPC to use IM#DALP dialog, and latter, the BIM#DAL?
Thanks! (I also have TOB, patched, installed.)
APPEND ~pdialog.2da~
~IM#DALE IM#DALN IM#DALP IM#DALJ IM#DALD IM#D25P IM#DA25J IM#D25D IM#DA25~
UNLESS ~IM#DALE~
-Me
"It is foolish and wrong to mourn the men who died. Rather we should thank God that such men lived."
- General George S. Patton
#2
Posted 29 June 2004 - 05:04 PM
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 29 June 2004 - 05:33 PM
This is the bottom of my IM#DALE.d, which also has the IM#DALE.dlg file in it.
BEGIN IM#DALP
IF ~Global("DalenJoined","LOCALS",1)~ THEN BEGIN KickOut
SAY ~So, I guess this is it, huh?~
IF ~~ THEN REPLY ~Whoops, I meant to get rid of some other idiot.~ DO ~JoinParty()~ EXIT
IF ~~ THEN REPLY ~Sure is. Now get the hell away from me!~ DO ~SetGlobal("DalenJoined","LOCALS",0)~ EXIT
END
IF ~Global("DalenJoined","LOCALS",0)~ THEN BEGIN Rejoin
SAY ~(Sob) Do....do you want me back?~
IF ~~ THEN REPLY ~Yes. Let's go.~ ~SetGlobal("DalenJoined","LOCALS",1) JoinParty()~ EXIT
IF ~~ THEN REPLY ~No, I just want to annoy you further.~ EXIT
END
-Me
"It is foolish and wrong to mourn the men who died. Rather we should thank God that such men lived."
- General George S. Patton
#4
Posted 29 June 2004 - 06:23 PM
The first value in pdialog.2da (where you have IM#DALE) needs to be whatever his Death Variable (Scripting Variable) is.
#5
Posted 29 June 2004 - 06:38 PM
-Me
"It is foolish and wrong to mourn the men who died. Rather we should thank God that such men lived."
- General George S. Patton
#6
Posted 29 June 2004 - 07:39 PM
The great wolf Fenrir gapes ever at the dwelling of the gods.
#7
Posted 29 June 2004 - 08:13 PM
THRU YOUR HELP, NOT ONLY DOES HE WORK HE......BANTERS!
I <3 U ALL
WORSHIP ME, THE MOD GOD
(settles down)
I'm better now, but seriously, thanks.
-Me
"It is foolish and wrong to mourn the men who died. Rather we should thank God that such men lived."
- General George S. Patton