View Single Post
Old September 24th, 2006, 05:01 PM   #2
tridman
 
tridman's Avatar
 
Join Date: Sep 2004
Posts: 571
Re: Newbie Dialog Help

Hi.

You will need three dialogs for this task.

All dialogs are started with an event when the NPC is targeted.

First dialog is set to Active and lets the NPC say "One"
Second dialog is inactive and lets the NPC say "Two"
Third dialog is inactive and lets the NPC say "leave me alone you pervert"

The trick is to define some additional events:

1. Dialog 1 reaches end of script -> Dialog 1 deactivates, Dialog 2 activates
2. Dialog 2 reaches end of script -> Dialog 2 deactivates, Dialog 3 activates
3. Dialog 3 reaches end of script -> Dialog 3 deactivates

In this way each dialog is trigered only once and only if the previous dialog was triggered before.

BUT: Since there is no way to differentiate between players all dialogs may be trigered by different players or by the same. No chance to change this afaik.
__________________



"You never know when a giant, flaming, magical, time-traveling bird is gonna swallow you whole and spit you out in the tenth century! - So hit those books!"
Brooklyn - Gargoyles: Clan-Building, Chapter eleven
tridman is offline   Reply With Quote