Skip to content

Questions about the Heroes 4 map editor.

#150
Auto-translated
Hello everyone! I'm creating a large-scale map with over 100 quests, but I'm facing some difficulties in making it unique. How can I specifically add such a script to the map? For example, what do I mean? When standing on point N, a script should trigger and perform the following function: Give N creatures -15% (e.g., -15% to attack, defense, or other stats). Reduce combat stats by 15%. Give an artifact with -15% (e.g., -15% to attack, defense, or other stats). Give a resource with -15%. 40% chance that the action fails. The idea is to check for the presence of artifact N, then perform the actions described above, and in the case of the 40% failure rate, the artifact is removed, which triggers this event. How can I create such a script, or at least something similar? :smile47: