void main() { object oPC = GetPCSpeaker(); object oArea = GetArea(oPC); object oThing; //Set that the DM is finished controlling speech of objects.. SetLocalInt(oPC, "DM_NPC_CHAT", 0); //Clear all variables from ALL Objects for speech control. oThing = GetFirstObjectInArea(oArea); while(GetIsObjectValid(oThing)) { if(GetLocalInt(oThing, "DM_CHAT")==1) SetLocalInt(oThing, "DM_CHAT", 0); oThing = GetNextObjectInArea(oArea); } }