Skip to content

Current questions and answers regarding the map editor.

User Avatar
#5808
Auto-translated
Jack_of_shadows
Using a script is generally more convenient. Firstly, it allows for creating complex animations. For example, if you need a goblin chopping down a tree, simply setting an infinite attack will look unnatural. Instead, you can start a thread, create random intervals between attacks, and it will look much better. Secondly, if you need to place, for example, one hundred decorative corpses in different parts of the map, you don't need to manually configure each one. Just place them, give each one a name like corpse1, corpse2, etc., and then simply iterate through all the names in the script. You could say that almost all script functions were not created just so that we could later create elaborate maps, but only because they were needed in a specific Campaign to implement the authors' ideas.
I agree about "more advanced" features, but regarding the 100+ decorative corpses. In principle, if you can create it as a new Object, then nothing prevents you from simply "copying" and "pasting" it as many times as needed. Just place it like any other object.
-- -- --
*But of course, I'm not very good with scripts in Heroes, so I can't fully assess all their capabilities, I can only assume what they should theoretically be able to do... 😩