10 lines
295 B
Plaintext
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));
|
|
}
|