Skip to content

Current questions and answers regarding the map editor.

User Avatar
#3842
Auto-translated
Regarding the function. For it to work correctly, the variable `i` must be initialized at the beginning; otherwise, it doesn't make sense. And in general, I suspect that it should have been `I=I+1`, not `I=i+1`. `I` and `i` are different variables. So, it should be something like this: ``` I=*some value* function day () I=I+1; end; ``` Ah... damn. I understand. It's just that in programming, case usually doesn't matter. I'll keep that in mind.
Разработка карт для HoMM V

Падение Грифона 136x136

Рельеф - 40%
Скрипты - 15%
Геймплей - 20%