LoD_PRC8/_module/nss/planar_port.nss
Jaysyn904 94990edc60 Initial Upload
Initial Upload
2023-09-21 21:20:34 -04:00

10 lines
295 B
Plaintext

void main()
{
object oPC = GetLastUsedBy();
string sNum = GetSubString(GetTag(OBJECT_SELF),12,1);
object oWaypoint = GetObjectByTag("PlanarWaypoint"+sNum);
location lLoc = GetLocation(oWaypoint);
AssignCommand(oPC,ClearAllActions());
AssignCommand(oPC,ActionJumpToLocation(lLoc));
}