NWNDS/nwnds_module/re_widget12.nss
Jaysyn904 de24f81734 Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
2021-07-12 21:24:46 -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;
}