Yes there is.
IF
DialogEnded("DIALOGSTRINGNAMEHERE",_) //The _ is extremely important.
THEN
CharacterMoveToTrigger( ) ;
Also if that particular dialog file is used more than once you might need to set a character flag within the dialog to specify it's only for a certain event.
So something like this:
IF
DialogEnded("DIALOGSTRINGNAMEHERE",_) //The _ is extremely important.
AND
CharacterGetVarInteger(CHARACTER Character,"WalkAway",1) //set this in the dialog file.
THEN
CharacterMoveToTrigger ( ) ;
CharacterSetVarInteger(CHARACTER Character,"WalkAway",0); //reset the value
You can also kill the dialog with:
DialogRequestStop(STRING Dialog, CHARACTER Character);
But usually I think it's better to let the player hit end, which has the same effect as the above call.
I use this a TON in my mod for scripted events.
Last edited by SniperHF; 30/11/15 11:41 AM.