Server Totals
Elysia - (4)
Wilderness - (1)
Ferrell - (0)
Le'Or - (0)
M'Chek - (0)
Deglos - (0)
Visimontium - (0)
Underdark - (0)
Mikona - (0)
Total players: 5
  • Forge of DruEl
    Album name: DM Events
    Uploaded by: Brayon
    Uploaded: Tue Mar 17, 2015 9:23 am

Links Menu

Conversation question

Moderators: Nighthawk4, Dungeon Masters

Conversation question

PostAuthor: Albion » Sun Apr 30, 2006 10:43 am

I have a question regarding a conversation with a NPC.

The conversation works like this the PC talks to the NPC and after a converstion the NPC gives her a key. Just as he does this they are attacked and after a fight the attackers are defeated. This works as it should do

Now if the PC talks to the NPC again she gets the welcome <char name> speach again and he does not acknowlage the fight that has just taken place. It is possible to make it so that after the fight your NPC would say somthing like thanks for your help you should be on your way quickly. If he is spoken to again.
Only two things in the world are infinite, the universe and human stupidity; and I'm not quite sure about the former." -Albert Einstein
User avatar
Posts: 1798
Joined: Wed May 21, 2003 3:30 pm
Location: England

PostAuthor: Alexandru Stanicu » Sun Apr 30, 2006 10:49 am

Try setting a local int on the PC at the end of the conversation (just before the attack)
You will have to put a check for the int at the start of the convo and if its not there go to path A if it is there go to path B (where A is the pre fight convo and B is the post fight)

Hope that helps.
I ain't as good as I once was, But I'm as good once as I ever was...

:devil: 4evar!
User avatar
Alexandru Stanicu
Legacy DM
Legacy DM
Posts: 14077
Joined: Sun Oct 20, 2002 10:59 pm
Location: Texas
Timezone: CST
DM Avatar: The Hammer

Return to NWN Scripting

Who is online

Registered users: Bing [Bot], Google [Bot], Pathos Street, silverfields2