Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
New here? I'm Roha — want a quick tour?
Avran. To use the script, you need a hero named "Avran" and place the texts in the correct location (see the script).
Avran's script needs to be reworked. Unfortunately, in the multiplayer mode, it's not possible to use widely used, non-addressed, general triggers; here, we have a trigger for a new day.
And all global variables and functions must contain the prefix "NHF_," to avoid having the same names as map scripts; I'm renaming them myself for now.
If this trigger is used in any other map, there will be script errors. And it's used quite a lot.
Convert the trigger to a separate-thread While loop.
I've reworked it.
I suggest the following upgrade path:
Fundamentals of Logistics --> Scouting.
Dyrman, I have an idea for a new hero. Race: Necromancer (Dark Elf), name: Darkblood. He can steal mana from nearby heroes (preferably from enemy heroes) and turn it into additional units for his army. (The higher the hero's level, the more units he creates, and the higher the level of the city's units). His intelligence increases every 3 or 5 levels. If you are interested in this hero, I can also provide a biography.
The goblins are constantly running away.
It seems to be working. In the description of the spell, it should be specified that the hero needs to be closer to the enemy city than to his own or an allied city.
It was just very lucky.;)
What does the console say when these errors occur?
I checked. This doesn't affect the script's functionality. The error is related to the construction of the text.
For example:
MessageBoxForPlayers(GetPlayerFilter(1), '/test.txt')--no errors.
MessageBoxForPlayers(GetPlayerFilter(1), {'/test.txt'; a=1})--error.
Also: the message about the theft for the unfortunate player, whose gold was stolen, should be displayed one day later, but it should actually be displayed one day earlier, meaning the former owner of the gold should find out about the theft first, considering the player is still alive.
Then all events should happen one day earlier, that is, immediately after the player with Avran finishes their turn?