Jump to content


Photo

Quick question


  • Please log in to reply
8 replies to this topic

#1 Blitz

Blitz

    Tabby Master

  • Member
  • 337 posts

Posted 20 November 2004 - 03:43 PM

SAY ~Tis none of your concern.~
<I want to insert a comment from a bodyguard here>
IF ~~ THEN EXIT

How do I make a character other than the one I first spoke to, speak?

Sorry, I just moved on to NPC creation (now that i've pratically mastered item creation). Pardon this n00bish question.

#2 neriana

neriana
  • Member
  • 139 posts

Posted 20 November 2004 - 08:16 PM

SAY ~Tis none of your concern.~
<I want to insert a comment from a bodyguard here>
IF ~~ THEN EXIT

How do I make a character other than the one I first spoke to, speak?

This should help you out:
http://www.weidu.org...eiDU.html#htoc9

If you still have problems, post everything you want everyone in that particular dialogue block to say, and I'll show you how to code it.

#3 Blitz

Blitz

    Tabby Master

  • Member
  • 337 posts

Posted 20 November 2004 - 08:33 PM

Cool. That is easier than I thought.

Thank you very much. :thumb:

#4 neriana

neriana
  • Member
  • 139 posts

Posted 20 November 2004 - 10:56 PM

Cool. That is easier than I thought.

Thank you very much.  :thumb:

View Post

You're welcome, though I just provided the link :).

#5 Blitz

Blitz

    Tabby Master

  • Member
  • 337 posts

Posted 21 November 2004 - 08:48 AM

On an unrelated note (I got the chain to work, by the way)...

What's wrong with this?

IF ~~ THEN DO ~SetGlobal("RBlitz","GLOBAL",1)

It looks correct to me. Am I overlooking something REALLY simple?

#6 Blitz

Blitz

    Tabby Master

  • Member
  • 337 posts

Posted 21 November 2004 - 09:54 AM

SAY ~You aren't going to quit, are you?~ DO ~ChangeEnemyAlly(Myself,EVILCUTOFF)

Is this invalid too? It looks fine to me.

Why doesn't anything work?! WHY?! WHY?!

Basicly, whenever I use DO it gives me errors. Augh!

Edited by Blitz, 21 November 2004 - 09:55 AM.


#7 Keryvian

Keryvian
  • Member
  • 15 posts

Posted 21 November 2004 - 10:22 AM

On an unrelated note (I got the chain to work, by the way)...

What's wrong with this?

IF ~~ THEN DO ~SetGlobal("RBlitz","GLOBAL",1)

If you've typed in your actual code, then you are missing the closing ~.

One of my favorite (or at least, most common) mistakes.

#8 Keryvian

Keryvian
  • Member
  • 15 posts

Posted 21 November 2004 - 10:23 AM

SAY ~You aren't going to quit, are you?~ DO ~ChangeEnemyAlly(Myself,EVILCUTOFF)

This one is also missing the closing ~.

#9 Blitz

Blitz

    Tabby Master

  • Member
  • 337 posts

Posted 25 November 2004 - 07:19 AM

I made this chain. It should run when the global is set to 9, and when Kaen sees Tiva. It installs without any errors, but doesn't run. Oh, and I bet you can't even guess where the dialogue is going. :D

Yeah, so anyway, why doesn't it start as soon as Kaen sees Tiva? I'm postive I set the globals correctly. :angry:

CHAIN
IF ~Global("R#Plot","GLOBAL",9)
See("r#tiva")~
THEN r#kaen TivaKaenConverse
~T-tiva? Is that you?~
DO ~SetGlobal("R#Plot","GLOBAL",10)~
== r#tiva
~Yes, yes. Of course it's me, Kaen. Now, we sorta need any information you have recovered on the Experiment.~
==r#kaen
~W-well...first tell me what YOU found out.~
== r#tiva
~Uh...okaaaaay. We kinda eliminated the Night Knives who were searching for the Experiment, and then we sorta figured out the Experiment was a tabby.~
== r#kaen
~A t-tabby? Uh, well, you see....I saw some people drag a tabby down into the sewers not long ago...~
== r#tiva
~You know, i'm willing to bet that be our tabby, aye, <CHARNAME>?~
== r#kaen
~Probably. People don't drag tabbies into sewers for kicks (normal people, at least).~
== r#tiva
~Well, what are we waiting for? <CHARNAME>, we'll meet you in the sewers.~

== r#kaen
~SEWERS?! I don't want to go in the sewers! It's dirty! And infested with...with...WEASELS! Yeah! Weasels!~
== r#tiva
~(sigh) Come on, Kaen. Follow me, <CHARNAME>.~
EXIT


EDIT: Still no luck. I just can't put my finger on what's wrong here. Dangit! This Chain is one of the final parts of my mod! :bash:

Edited by Blitz, 25 November 2004 - 09:39 AM.