void main() { object oPC = GetEnteringObject(); object oWay = GetWaypointByTag("home"); AssignCommand(oPC, ActionJumpToObject(oWay)); }