Pocket Plane Group

Miscellany, Inc. => Infinity Engine Modding Q&A => Topic started by: redtempest on July 01, 2004, 11:51:38 PM

Title: Dialogue option only availabe with a certain NPC
Post by: redtempest on July 01, 2004, 11:51:38 PM
Say, for example:
"I am Anomen Delryn, Priest of Helm and Romantic Lover Extraordinaire."
How could I script this so that this option only shows up if the speaker is Anomen?
I've tried

IF ~!Name("Anomen",Player1)~ THEN REPLY

But it doesn't seem to work.  :-[
Title: Re: Dialogue option only availabe with a certain NPC
Post by: neriana on July 02, 2004, 12:22:30 AM
! = not. What exactly are you trying to do, by the way?
Title: Re: Dialogue option only availabe with a certain NPC
Post by: jcompton on July 02, 2004, 12:51:11 AM
This is the result of a bit of communication between Ms. Tempest and myself.

I'm pretty sure she wants IsGabber() for this. She wanted !Name for something else. :)
Title: Re: Dialogue option only availabe with a certain NPC
Post by: Rastor on July 02, 2004, 12:50:16 PM
All that will do is return True if CHARNAME is not named Anomen.  IsGabber() is the best thing to use for what you are trying to do.
Title: Re: Dialogue option only availabe with a certain NPC
Post by: redtempest on July 02, 2004, 11:03:56 PM
Yeah, solved it. Thanks. (Jason was trying to confuse me with information overload. :) )