RATDOG/_module/nss/re_widget18.nss

12 lines
313 B
Plaintext
Raw Normal View History

void main()
{
object oPC = GetPCSpeaker();
object oArea = GetArea(oPC);
object oObject = GetFirstObjectInArea(oArea);
while(GetIsObjectValid(oObject))
{
if(GetLocalInt(oObject, "re_bRandomEncounter") && !IsInConversation(oObject)) DestroyObject(oObject);
oObject = GetNextObjectInArea(oArea);
}
}