PoA_PRC8/module/nss/bootnonmember2.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

23 lines
455 B
Plaintext

//Created by Genisys 5/28/08
//This script boots any non-partymember out of the party room
//Put this script OnEnter
void main()
{
object oPC = GetEnteringObject();
object oTarget;
location lTarget;
if (!GetIsPC(oPC)) return;
if (GetLocalInt(oPC, "IMemberB")<= 0)
{
oTarget = GetWaypointByTag("home");
lTarget = GetLocation(oTarget);
AssignCommand(oPC, ClearAllActions());
AssignCommand(oPC, ActionJumpToLocation(lTarget));
}
}