HoS_PRC8/_mod/_module/nss/onclick_teleport.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

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));
}