Okay, yet another kindergarten level question from me. Get used to them! I'm 99% certain that I shouldn't be struggling with this specific problem as much as I am.
Say my hero is in a dialog with an NPC and, after I select a specific option in the conversation, I want the NPC to perform an in-game action -- let's say walk from point A to B -- once the dialog is finished. Can anyone provide a sample StoryEditor code to achieve this?
Annoyingly, I haven't been able to get 'DialogEnded' to work. But, even if I had, I can't figure out how to pair together 'IF' events with 'AND's before the 'THEN'. It seems like the StoryEditor only allows one 'event' type function before the THEN. If I try to build, for example, IF ItemEvent AND TimerFinished THEN blahblahblah, the editor throws up an error.
The closest I've gotten is to set the Flag/Event in the dialog node as normal -- an 'IF GlobalEventSet(blahblah)' function picks that up and processes the THEN part. Unfortunately, it does so immediately upon activation of the dialog node. This makes for a rather rude NPC who walks from A to B before you've had a chance to leave the dialog window.
Any help would be greatly appreciated!