Skip to content

Current questions and answers regarding the map editor.

User Avatar
#4708
Auto-translated
Godric's Hollow, the obelisk is disabled just like any other object. Your code is currently just a meaningless collection of functions. Try to clearly understand these two points: code that needs to be executed at the start of the map should be written OUTSIDE of functions, and code that needs to be executed when an event occurs should be written INSIDE a function that is called by that event. Formulate your algorithm as a series of simple steps, like this:
1) The obelisk should never function in its standard way, so it needs to be disabled at the start of the map.
2) When the obelisk is touched, a battle should start, so a trigger for touching it at the start of the map needs to be assigned to it.
and so on.
Then, simply find the appropriate functions for each step.
РПГ-сценарий для HoMM5: Путь героя
ЧаВо по созданию карт для HoMM5: ЧаВо

Statistics

Welcome our newest member: leyu