for int_Id 65534 do local o_Npc level object_by_id int_Id local o_Sim

1
2
3
4
5
6
7
8
for int_Id = 1, 65534 do
local o_Npc = level.object_by_id( int_Id);
local o_Sim = alife();
if o_Npc and o_Npc:clsid() == clsid.script_stalker then
o_Sim:release( o_Sim:object( o_Npc:id()), true)
end
end