Skip to content

Help for the Heroes 4 Map Editor.

User Avatar
#16
Auto-translated
Not a Bot
And how do you do the opposite? How do you use a script to place an army without a hero on the map? In the sense that a monster is standing there, a player kills it, and after a while, the script places another monster in that spot. I hope I explained it clearly? Just please explain in as much detail as possible, as I am a beginner.
It is impossible to do this with an army – if it is destroyed, all the scripts associated with it will be lost along with it. The only thing I can suggest is to place a garrison and configure it so that after a certain number of days after it is captured, it is transferred to a neutral player, and an army is added to it. I'm too lazy to explain how to do this, so I'll just post a map with an example – it has a garrison that becomes neutral exactly one week after it is captured by the red player, and 1 air elemental is added to it. You can place a different army or change the respawn period by replacing the seven with another number in the appropriate window.
Attachments 1
1 file attached • Total size: 632 B