It's not really important in this case. In general, in programming, a boolean variable can only have two values (usually 0 and 1).
Хаос во всём тоже порядок...
Кампания Седьмое затмение. Грань Империи.
В стадии разработки 10%
New here? I'm Roha — want a quick tour?
It's not really important in this case. In general, in programming, a boolean variable can only have two values (usually 0 and 1).
EnableHeroAI('hero_name', nil) -- disables the hero
EnableHeroAI('hero_name', 1) -- enables it again
Was this the question?
You can change the map type to multiplayer by opening the map file with an archiver and renaming the folder inside the Maps subfolder of the archive to Multiplayer.
C:\Heroes of Might and Magic V - Complete Pack\Tribes of the East\Maps\map_name.h5m\Maps[B]SingleMissions[/B][br][/br]
This is what the path should look like. You need to rename the highlighted folder to Multiplayer, but to access the contents of the h5m file, you'll need an archiver. Or you can change the extension to zip, then the system should open the archive automatically, and, of course, after the changes, you need to change the extension back to h5m.
How can this be fixed?
How do you prevent a hero from moving on the map?
EnableHeroAI('hero_name', nil) – disables the hero.
How do I add “scripted” heroes like Nicholas, Faidaen, Tralsai, and King Tolgar to the editor?