Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
New here? I'm Roha — want a quick tour?
:smile15:
Is it possible to influence the behavior of a specific AI hero in battle using scripts?
Because it's annoying when, for example, a knight who has mass slow casts it on only one unit, or a demon with the ability to summon a phoenix uses magic arrows. I think you understand what I mean.
And if it's possible, where is this described in detail?
Sorry for being a noob – I haven't done this in a year :smile15:
Added 1 hour 31 minutes later
Another question. How do I create my own artifact? For example, a ring of vampires (gives the Vampirism spell) or a heavy shield with +5 defense, like in one of the maps. And is it possible to at least gain access to the existing abilities of artifacts so that I can create my own artifact based on them, which has the abilities of several existing ones?

I'm also getting kicked out. What could be the problem? And another question: in the script you provided, the "local race" line has a lot of numbers. What are they, and what other options might there be? Oh, and what unit is used to measure the object's rotation angle? Because 90 degrees rotated it a lot, but 270 degrees rotated it very little (I thought it was in degrees).

If I understand you correctly, you mean the chasms in the dungeons, right?
There are special objects in the SubterraObjects section: Wall_dno_down, dno_down, and the rest of this type. If they don't show up in the editor, you can find them in the DungeonWalls section of the AdvMapStaticShared tab.




I'll try to explain now.
The first type of 3x3 objects is used to create platforms hanging over the abyss.
The second type of objects is necessary to create a smooth and beautiful transition between different types of platforms.
And the third type of 3x3 objects is used to fill the empty space, creating bottomless chasms.
