Auto-translated
1) I didn't understand. The script name applies to the hut itself, and there's also the name of the quest.
2) You can do it like this:The quest should be OBJECTIVE_KIND_MANUAL, and the IsInitialyActive and IsInitialyVisible parameters should be false.function NewDay()
if GetDate(MONTH) == 25 and GetDate(WEEK) == 1 and GetDate(DAY_OF_WEEK) == 1 then
CreateMonster("monster_name", monster_type, number_of_creatures, x, y, floor, mood, courage, rotation_angle, height)
SetObjectiveState('quest_name', OBJECTIVE_ACTIVE)
startThread(killDemon)
end
end
function killDemon()
while 1 do
if not IsObjectExists("monster_name") then
SetObjectiveState("quest_name", OBJECTIVE_COMPLETED)
break
end
sleep(10)
end
end
Trigger(NEW_DAY_TRIGGER, "NewDay")
Animations: normal state, death, close combat attack, joy, taking a hit, shooting, spellcasting, special ability, panic (what creatures do in battle when you hover the cursor over them).
Added 8 minutes later
Try changing this file: \UI\MPDMLobby\presets.(DuelPresets).xdb.
Thank you! I will definitely try it. There's another problem: I tried to install a mod that adds different dwellings to the editor. But for some reason, when I copied the necessary file into the data folder, nothing changed. The editor still doesn't see them. Neither in the object window nor through shared. I tried making it an h5u file – also without result. I tried downloading another archive – it didn't help. What could be the problem?
