Files
RoT2_PRC8/src/module/nss/cb_cloakwall.nss
Jaysyn904 ab2fc1d732 Added PEPS AI
Added PEPS AI.
Full compile.
Reorganized repository.
2025-07-28 12:49:34 -04:00

24 lines
345 B
Plaintext

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