Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
20
_module/nss/en4_chkpcareas.nss
Normal file
20
_module/nss/en4_chkpcareas.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
int iResult;
|
||||
object oPC;
|
||||
object oPartyMember;
|
||||
|
||||
iResult = FALSE;
|
||||
|
||||
oPC = GetPCSpeaker();
|
||||
|
||||
oPartyMember = GetFirstFactionMember(oPC, TRUE);
|
||||
while (GetIsObjectValid(oPartyMember) == TRUE)
|
||||
{
|
||||
if (GetArea(oPC) != GetArea(oPartyMember))
|
||||
iResult = TRUE;
|
||||
oPartyMember = GetNextFactionMember(oPC, TRUE);
|
||||
}
|
||||
|
||||
return iResult;
|
||||
}
|
Reference in New Issue
Block a user