Skip to content

Posts from Help for the Heroes 4 Map Editor.

No ratings yet — be the first to rate!
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
In reply to Make_macho_salad
#17
Auto-translated
Make_macho_salad
You can't do that with an army – if it's destroyed, all the scripts associated with it will be lost as well. The only thing I can suggest is to place a garrison and configure it so that after a certain number of days after it's captured, it's 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's captured by the red player, and one air elemental is added to it. You can place a different army or change the respawn period by replacing the seven in the appropriate window with a different number.
And would you do it through a trigger, a calendar event, or a periodic event?
User Avatar
#18
Auto-translated
I wonder how to determine coordinates on the map? In Heroes of Might and Magic III, it's no problem, but in Heroes of Might and Magic IV, to point out a problem in a specific location, you need to describe a part of the map. Okay, I figured it out – in Heroes of Might and Magic III, the editor has floating numbers. The only problem is that the coordinate grid is diagonal, which makes it difficult to pinpoint.
Техника в руках индейца мертва.
Справочник по НоММ-4 http://handbookhmm.ru/pamyatka-dlya-heroes-iv.html
Памятка по НоММ-3 http://handbookhmm.ru/pamyatka-dlya-homm-iii.html
и HotA http://handbookhmm.ru/vyishla-obnovlennaya-pamyatka-dlya-homm-iii-hota.html