RATDOG/_module/nss/re_widget12.nss

14 lines
358 B
Plaintext
Raw Normal View History

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;
}