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

22 lines
340 B
Plaintext

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