Auto-translated
well, it's simple, you create a check thread:
```
function CheckStacks()
while 1 do
local x
for i, stack in stacks do
if IsObjectExists(stack) then
x = not nil
end
end
if not x then
SetObjectiveState('desired_quest', OBJECTIVE_COMPLETED)
break
end
if GetDate(DAY) == desired_day then
break
end
sleep()
end
end
startThread(CheckStacks)
Нет войне.