Posts from Scripts
In the SummonCreature combat script, does the number of creatures have to be an integer?
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
Is there a way to make machines (tent and ballista) restore their health during their turn in battle?
And my second question: how can I force an enemy hero to stay in defense during their turn?
Thank you in advance.
2) The function controlling the AI hero's turn should return 1. For example:
function DefenderHeroMove()
return 1
end
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
No way. It's not implemented.
Is there no alternative? I just need the enemy hero to cast either a general speed boost or a general speed reduction on their turn.
Is there absolutely no alternative? I just need the enemy hero to cast either a general speed boost or a general speed reduction on their turn.
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
You can write your own simple generator, for example, one that works using this method.
I'll give it a try.
Is Frida's (Vessel of Elrath) specialization a combat script? If so, what does it look like?
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
No, it's not a script. The developers didn't implement global game mechanics through scripts.
I see... Thanks for the answer.
As soon as I create a script (a simple one, for an attack animation), the map editor crashes.