Skip to content
User Avatar
#4684
Auto-translated
azazel.exe
Hello. I have a couple of questions that I would like to ask.
1) How do I make it so that the mission fails when the hero dies?
2) Is it possible to make a creature on the map float in the air?

4) How do I make it so that when entering a specific region, the castle transitions to my hero's ownership?

1) In one of the tasks, select HERO_MUST_SURVIVE (or something similar), then the parameter (script, hero name).
2) I don't think so, but try specifying z in Position(pos).
4) Place a trigger on the region that calls a function with a script: SetObjectOwner("(Object Name)", (player number));

function TownNewOwner()
SetObjectOwner("Object Name", Player Number);
end
Trigger(type, "region name", "TownNewOwner")

Statistics

Welcome our newest member: leyu