void main() { object oPC = GetLastSpeaker(); object oTarget = GetWaypointByTag("2tanglethorn"); //or whatever the tag is for your destination waypoint AssignCommand(oPC, JumpToObject(oTarget)); }