10 lines
227 B
Plaintext
10 lines
227 B
Plaintext
// onclick_teleport
|
|
void main()
|
|
{
|
|
object oPC=GetLastUsedBy();
|
|
string sTag=GetTag(OBJECT_SELF);
|
|
object oWP=GetWaypointByTag(sTag);
|
|
AssignCommand(oPC,ClearAllActions(TRUE));
|
|
AssignCommand(oPC,JumpToObject(oWP));
|
|
}
|