RoT2_PRC8/_module/nss/cb_evilport20.nss
Jaysyn904 499aba4eb3 Initial upload
Initial upload
2023-09-25 18:13:22 -04:00

25 lines
411 B
Plaintext

void main()
{
object oPC = GetLastUsedBy();
if (!GetIsPC(oPC)) return;
if (GetItemPossessedBy(oPC, "EVILSYMBOL")== OBJECT_INVALID)
return;
object oTarget;
location lTarget;
oTarget = GetWaypointByTag("wp_evilhome");
lTarget = GetLocation(oTarget);
if (GetAreaFromLocation(lTarget)==OBJECT_INVALID) return;
AssignCommand(oPC, ClearAllActions());
AssignCommand(oPC, ActionJumpToLocation(lTarget));
}