September 24th, 2006, 04:47 PM | #1 |
Join Date: Sep 2004
Location: lala land
Posts: 1,887
|
Newbie Dialog Help
oh dear, 4 hours trying to get a simple dialog going with no luck.
so if someone could explain how to do the following i would be very grateful. we have npc_1 first player target npc_1 says 'one' second player target npc_1 says 'two' third and subsequent player target npc_1 says 'leave me alone you pervert' i wont go into all the ways i have tried to do this at risk of complicating discussion |
September 24th, 2006, 05:01 PM | #2 |
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
|
September 24th, 2006, 05:19 PM | #3 |
Join Date: Sep 2004
Location: lala land
Posts: 1,887
|
Re: Newbie Dialog Help
nope. *tears more hair out*
i make that event for the npc but it just doesnt save in the event window. when dialog_1 reaches end deactivate dialog_1 activate dialog_2 |
September 24th, 2006, 05:22 PM | #4 |
Join Date: Dec 2004
Posts: 1,331
|
Re: Newbie Dialog Help
That's what you would think, isn't it? I was about to tell Rushin the exact same thing, but decided to try it out first and it doesn't work as it should. Dialog 1 deactivates properly, but Dialog 2 won't activate no matter what I do. Even if I flip a usertrigger to activate it, no luck.
|
September 24th, 2006, 05:32 PM | #5 |
Join Date: Sep 2004
Location: lala land
Posts: 1,887
|
Re: Newbie Dialog Help
well lets see. I was trying to add the 'script end deactivate/activate' to npc event window and it wasnt appearing. checked events from the dialog_1 and there were 10 idential commands doing this so left one in and ran it. still doesnt work
i cant believe they have made something so simple so complex. dialogs with events?, objects without variables, no debuging - even checking states of objects, tries not to let list go any further *heads for vodka and smokes to clear head* |
September 24th, 2006, 05:39 PM | #6 |
Join Date: Sep 2006
Posts: 6
|
Re: Newbie Dialog Help
For what it's worth, I'm having the same problem with Dialog components. It gets even messier if you add a Task component (like deliver message).
I tried activating the Task component (set to inactive on start) by setting it's activate to the end of the first Dialog component (Stand alone dialog 1 component). No matter what I do, the Task component dialog fires at the same time as the intro dialog 1 (from a player targeting it). I'm beggining to think dialogs are bugged, and with no way to "debug"...... Got any more vodka? |
September 24th, 2006, 05:44 PM | #7 |
Join Date: Dec 2004
Posts: 1,331
|
Re: Newbie Dialog Help
Okay, my conclusion after half an hour of testing:
Once a Dialog is non-active, it can not be activated anymore. There's a nice event action that says "Activate Dialog 2", but it doesn't work. I doubt that's how it supposed to work, but that's how it is. If anyone can find a way to activate a non-active dialog, I'd be interested to know how. |
September 24th, 2006, 05:54 PM | #8 |
Join Date: Sep 2004
Location: lala land
Posts: 1,887
|
Re: Newbie Dialog Help
yeah thats kinda my thoughts also. you could get around this if the conditions section of events allowed you to check if a dialog was active or not, but there is just is/is not running.
must be missing something surely? and if we are i go back to my first comments of how an earth can you make this so complicated to use? Nevrax might want to look at scripting for dummies books or the rather spiffy RPGmaker that does these things with ease and much more transparency for the user |
September 24th, 2006, 06:05 PM | #9 |
Join Date: Sep 2006
Posts: 26
|
Re: Newbie Dialog Help
Dialogs aren't bugged, you just need to use them in the way they are ment to be used.
First of all, make sure all 3 dialogs have the active setting checked and the "auto" start setting unchecked. As said above, just create 3 dialogs with the NPC as target.
I tried it, and it works, could upload the file if you can't figure it out. |
September 24th, 2006, 06:05 PM | #10 | ||
Join Date: Dec 2004
Posts: 1,331
|
Re: Newbie Dialog Help
Quote:
It does solve rushin's problem, but it's really another thing that doesn't work the way it should. Quote:
Last edited by sidusar : September 24th, 2006 at 06:22 PM. |
||
«
Previous Thread
|
Next Thread
»
Thread Tools | Search this Thread |
Display Modes | |
|
|
All times are GMT +2. The time now is 03:59 AM.