Skip to content
User Avatar
#4048
Auto-translated
Constructions like while(1) do ... end are loops. If there is no command to exit the loop within them, it becomes an infinite loop. When you call haste_p1(), the script runs inside this function infinitely. For such tasks, you should use separate threads, using the function startThread(function name). Launch it once, perhaps right at the start of the map, and it will run forever.
РПГ-сценарий для HoMM5: Путь героя
ЧаВо по созданию карт для HoMM5: ЧаВо