PoA_PRC8/_module/nss/membercheck1.nss

19 lines
334 B
Plaintext
Raw Normal View History

2022-10-07 14:20:31 -04:00
void main()
{
object oPC = GetLastOpenedBy();
object oTarget;
location lTarget;
if(!GetIsPC(oPC)) return;
if (GetLocalInt(oPC, "IMemberA")<= 0)
{
oTarget = GetWaypointByTag("home");
lTarget = GetLocation(oTarget);
AssignCommand(oPC, ClearAllActions());
AssignCommand(oPC, ActionJumpToLocation(lTarget));
}
}