okay I think I get it...but not 100% yet.
I changed it into smt like this:
object oVIT = GetObjectByTag("VIT"); // VIT = Very Important Thing
while(GetIsObjectValid(oVIT))
{
SetLocalInt(oVIT, "NoKilling", 1);
oVIT = GetNextObjectInArea();
}
all objects that are absolutely neccessary have the tag VIT.
But still not every object with the tag VIT in one area is affected by that script.
Is there smt wrong with this loop? May be it has smt to do with GetNextObjectInArea?
How can I get an area where objects with VIT-tag are in and run that loop for
that area as long as there are objects with that tag???