WoR_PRC8/_module/nss/s_szithdra_port1.nss

21 lines
342 B
Plaintext
Raw Permalink Normal View History

2025-04-03 11:49:34 -04:00
void main()
{
object oPC = GetLastUsedBy();
if (!GetIsPC(oPC)) return;
object oTarget;
location lTarget;
oTarget = GetWaypointByTag("PT_Szithdra_pt1");
lTarget = GetLocation(oTarget);
if (GetAreaFromLocation(lTarget)==OBJECT_INVALID) return;
AssignCommand(oPC, ClearAllActions());
AssignCommand(oPC, ActionJumpToLocation(lTarget));
}