I'm trying to make a script where the player is teleported somewhere instantly after the dialogue ends, similair to when you are arrested (but I can't use the GoToJail function)
The result script for the dialogue is
SetStage questnamehere 10
And the script attatched to the quest is
scn scriptnamehereshort doonceBegin GameModeif GetStageDone questnamehere 10 == 1 && doonce == 0 Player.MoveToMarker markernamehere set doonce to 1endifEnd
The problem I'm having is that the script is executed before the dialogue is finished, so the seond you talk to the guy you're teleported to the new place, and the dialogue kinda carries on, but he's not there. Is there any workaround? I tried IsTimeRunning to delay the script during the dialogue but this didn't work (strangely, seen as time isn't running during dialogue)