Exitting a dialog once an option has been chosen and moving a character. SOLVED

Started by AgentVenell, Mon 27/08/2012 17:35:38

Previous topic - Next topic

AgentVenell

Okay, the premise:
I have a dialog setup, and when the character chooses one of the options, I want the dialog to exit and the character the player is talking to to walk to a certain position.
I pretty much know how to make the character walk and stuff, but I'm wondering how this would be started in a dialog.

Thanks!

Andail

You can script normally in the dialog editor, you just have to indent the line of code with a space.
Like:

Ego: Ok, good bye.
cEgo.Walk (x, y);
stop

AgentVenell

Quote from: Andail on Mon 27/08/2012 17:43:58
You can script normally in the dialog editor, you just have to indent the line of code with a space.
Like:

Ego: Ok, good bye.
cEgo.Walk (x, y);
stop

Oh cool! That's simpler than I would have thought. Thank you!

SMF spam blocked by CleanTalk