NWNDS/nwn_dark_sun/re_widget12.nss
Jaysyn904 b01c5cc7db Added PnP Dire Rat.
Added PnP Dire Rat.
2021-07-21 17:48:43 -04:00

14 lines
358 B
Plaintext

int StartingConditional()
{
object oPC = GetPCSpeaker();
object oArea = GetArea(oPC);
int iResult;
object oObject = GetFirstObjectInArea(oArea);
while(GetIsObjectValid(oObject))
{
if(GetLocalInt(oObject, "re_bRandomEncounter")) iResult = TRUE;
oObject = GetNextObjectInArea(oArea);
}
return iResult;
}