Skip to content
User Avatar
#878
Auto-translated
To be honest, I'm not very familiar with battle scripts; half of them aren't even in the official manual. Can anyone help me out?:
a) How do you determine if your hero is defending or attacking? (IsAttacker works very strangely)
b) What UnitName should I specify? Is it the name of the unit given to it on the map, or the script name?
c) How do you make a hero cast a spell at the beginning of the battle or in sync with another action (like Frida's Divine Retribution or Leto's Plague)?
I would appreciate it if you could provide some small examples, if possible, because I won't be able to figure it out otherwise.
Thank you in advance.

Whatever