Skip to content

Current questions and answers regarding the map editor.

User Avatar
#5097
Auto-translated
}{0TT@6bI4
Before writing a script, try entering Town Hall Level 4 (possibly Level 3, I don't know all the IDs by heart) in the Parameters tab. If that doesn't help, enter TOWN_BUILDING_TOWN_HALL or TOWN_BUILDING_TOWN_HALL_LEVEL_4. If that still doesn't work, then it's a scripting issue.
Did I understand correctly that I need to create 2 parameters? That is, parameter [0] is the script name of the town, and parameter [1] is what you wrote? Or should they be separated by a comma? Or is the town name not needed?

I figured out the model, thanks. Forget about the painted one. The only thing I can't figure out is how to fix the attack animation. That is, when the hero points at the enemy, the figure freezes for a couple of seconds with its arms outstretched, after which the enemy takes damage. How can I fix this? But magic is cast normally. I was experimenting with a fairy, by the way.