Glad you people can put up with ME... Lord knows *I* couldn't.
Alright, a two quick questions, if I may (and if not I will commence to PMing people In The Know.
First:
NPC Dies and is then brought back via temple or spell: How can I write a code (to tie in with dialog) to make her hostile/attack party until death? I have been told it is possible to make a code (Kindrick) where when they are dead they are dead, but I want her to be able to be rasied and come back pissed.
Dialog selection below:
---------------CUT/PASTE--------------------------
October resurrection dialog
BEGIN OCTOBRESUR
IF~~("October","resurected",1)~~THEN BEGIN OctobResurection00
SAY ~Uungh...I'm...I'm *ALIVE!* Alive again!~
IF~~THEN DO ~SetGlobal("OctoberResurected","LOCALS"1)~ EXTERN
~OCTOBRES01_00~
END
CHAIN BEGIN OCTOBRES01_00
SAY ~Who... Who did this? Who *DID* this to me!?!~
= ~It matters not! *YOU* <CHARNAME>! YOU lead this group and it was upon
your orders that I was brought back!
IF~~THEN REPLY ~Yes. I missed you, October. I couldn't stand the thought
of your being dead! Are you not glad to be alive?~ GOTO OctobVeng01
IF~~THEN REPLY ~Yes it was I. You are an important part of my group. I
need you alive and whole, as you are now, again. Lets get going.~ GOTO
OctobVeng02
END
IF~~THEN BEGIN OctobVeng01
SAY ~You...missed me.~
= ~YOU MISSED ME?!?~
= ~And so you stole me back from the dead, like a grave-robbing
ghoul?!? Tore me from the blessed embrace of my Goddess because you
couldn't stand the pain of not having me close by?!?~ EXTERN
~OCTOBRES02_00~
END
IF~~THEN BEGIN OctobVeng02
SAY ~You brought me back because you needed yet another sword arm? Stole
me from the folds of the Goddess's cloak because you couldn't be
bothered to find another fighter from your own realm?~
= ~How dare you.~
= ~HOW DARE YOU <CHARNAME>!~
EXTERN ~OCTOBRES02_00~
END
IF~~THEN BEGIN OCTOBRES02_00
SAY~I don't understand what you are so angry about, October. You were
dead. Meat cooling on the ground. I gave you life again, saved you!~
EXTERN ~OCTOBRES02_01~
END
IF~~THEN BEGIN OCTOBRES02_01
SAY ~Saved me?~
= ~You've CURSED ME, <CHARNAME>! CURSED ME!~
= ~For those of YOUR realm, life returned from death is a gift, I
imagine. For ME...for those of MY faith, it is a blasphemy! Evil and
profane! An abomination!~
= ~This isn't *LIFE* you've given me! It's a *NIGHTMARE!* A NIGHTMARE
existence of living death!~ EXTERN ~OCTOBRES02_02~
END
IF~~THEN BEGIN OCTOBRES02_02~
SAY ~Have you lost your mind, Tobi? Is your bra on to tight? You're
alive, alive and whole! Look at yourself, you're just fine. You're *NOT*
a zombie!~ EXTERN ~OCTOBRES03_00~
END
IF~~THEN BEGIN OCTOBRES03_00~
SAY ~You know not what you talk about <CHARNAME>. Maybe
this...renewed...state of being is acceptable to you, to your kind...~
= ~To ME... I've become, thanks to you, a breathing mockery of everything
I've ever considered to be human. You've taken me from my Goddess and
now she will believe I've turned my back to her.~
IF~~THEN REPLY ~That's the most ridiculous type of "faith" I've ever
heard of. I've given you your life back, Chill, you ought to be more
gratefull. Now shut up and get back into formation.~ EXTERN ~OCTOBRES03_01~
IF~~THEN REPLY ~I...I didn't know. I had no idea... Please believe me,
October, I never meant to cause you such pain. Is there anything,
*anything* I can do?~ EXTERN ~OCTOBRES03_02~
END
IF~~THEN BEGIN OCTOBRES03_01~
SAY ~You've cursed me like this and still expect me to jump at your
commands? I think not <CHARNAME>! In fact...~
= ~ Ah the hell with it. *DIE!*~
IF ~~ THEN DO ~LeaveParty()
Enemy()
Attack(Player1)~
IF~~THEN (WHEN "October" life at 15%) DO BEGIN FINALWORD01
SAY ~Th...thank you <CHARNAME>. I...I am sorry for at...attacking y...you,
but it was necessary. I sensed that you would n...not simply kill me in
cold blood.~
= ~Y...you've nearly k...killed me. N...now finish the j...job. Kill me!
End this half-life you raised me to. Finish me and l...let me return to
m...my Goddess's cloak.~
EXIT
END
IF~~THEN BEGIN OCTOBRES03_02~
SAY ~Yes there is something you can do for me, <CHARNAME>. You can kill me
properly.~
= ~No? I see from the expression in your eyes that you don't care for that
idea. Funny how you can interfere with another's life to bring them back,
but get squeamish over the idea of a mercy killing. That's what it would be
for me you know. A mercy.~
= ~Still you hesitate though, to do as I ask. Very well, I'll make it easier
for you. Come at me. Kill me <CHARNAME> for if you don't, I *will* butcher you
where you stand!~
= ~*DIE!*~
IF ~~ THEN DO ~LeaveParty()
Enemy()
Attack(Player1)~
IF~~THEN (WHEN "October" life at 15%) DO BEGIN FINALWORD02
SAY ~Th...thank you <CHARNAME>. Y...you've nearly k...killed me. N...now
finish the j...job. Kill me! End this half-life you raised me to. Finish
me and l...let me return to m...my Goddess's cloak.~
EXIT
END
----------------------------------
Second SHOULD be easy for those who know what they are doing, but...
The appeal (for me) in October is her dialog...meaning that she is a chatty b*tch. In her banters with <CHARNAME> I want to cover a bit, but I don't want to give away everything at once, so, if I have a line of code dialog going:
----CODE:---
IF~~THEN BEGIN Octob001_20
SAY ~Manda was my sister. She was younger than me by about three years and joined the Silverblades at the same time as I did.~
= ~Manda was a Wardancer, something along the lines of a bard, but her art was in the movements of battle. She could make the act of killing seem like the best type of performance art.~
= ~ I miss her. We were...very close.~
IF~~THEN REPLY ~I understand how you feel, well, sort of. Imoen is dear to me as well. She's almost like a sister, come to think of it.~
= ~ Can I ask you something else about your group?~ GOTO Octob001_16
IF~~THEN REPLY ~It sounds like it, and sounds as though you miss her terribly.~
= ~If I may ask... How did she die?~ GOTO Octob001_29
IF~~THEN REPLY ~Your tone when you say that you and Manda were close is odd. What do you mean?~ GOTO Octob001_30 *******
IF~~THEN REPLY ~It is important that we never forget our family and friends who have fallen.~
= ~October, I would like to know more but we're a little pressed for time right now Can I ask you about these things later perhaps?~ GOTO Octob001_28
END
OR
IF~~THEN BEGIN Octob001_07
SAY ~Co-leader actually, if there is such a term.~
= ~A man named Auric Maplebeard is nominally leader of my Blades, but he gained that position when our previous leader was killed in battle. I was second in command then as I am now, though I suspect that many in my group would side with me more than Auric if push came to shove.~
IF~~THEN REPLY ~Why did you not assume command when your previous leader was killed? If you were his second, the position should rightfully have been yours.~ GOTO Octob001_30 *******
IF~~THEN REPLY ~Really? This guy must be something special then.~
= ~What can you tell me about him? From his named, I'm guessing he's a dwarf, right?~ GOTO Octob001_25
IF~~THEN REPLY ~Sounds like you got sort of screwed. Anyway, I'd like to talk more with you but we're a little pressed for time just now. Can we continue this conversation a little later?~ GOTO Octob001_28
END
---------------------------
Though these strings of dialog (And I am using my old code so I know I need to make a few changes in general) have to do with different issues, BOTH have the option of GOTO Octob001_30 - Which is a "I don't want to talk about this now, maybe later" type string. (See code below)
----CODE:---
IF~~THEN BEGIN Octob001_30
SAY ~I'm sorry, <CHARNAME>, but that is not something I feel like discussing with you just now. Perhaps later.~
IF~~THEN REPLY ~Fair enough, but may I ask you about something else? GOTO Octob001_16
IF~~THEN REPLY ~That's okay, we need to get going anyway. Can we talk again later on?~ GOTO Octob001_28
END
----------
Now, in the course of the story IF October and <CHARNAME> get to be better friends, she might then feel comfortable in speaking of things that previously she didn't care too... Something brought up in banter 001_28 say, might not be okay to bring up again until maybe banter 004_01
If that makes any sense.
So, how can I link these so that WHEN the time comes for her TO talk about the whatnot she declined to answer in banter 001_28.... do I link 004_01 to... 001_???
Minotaur Making progress in coding but confused.