Skip to content
#518
Auto-translated
Oligarch
Couldn't you just place another map in the maps folder and reference it? Because putting a map in the archive for the second game... there's not just map and map_tag there, but also ground and underground terrain.bin, which, it seems, contains the map's landscape.
I don't know, it needs to be tested, tried out. I tried the method described above; maybe there's a simpler way.

Added 7 hours 14 minutes later
Tactical scripts: I've run into a problem. I'm trying to make a spell work on all of a hero's creatures at once. I select the creatures using GetCreatures(side), load the data into the "creatures" variable, and use it to target the final target:
for i = 0, length(creatures)-1 then
UnitCastAimedSpell(GetHero(side), spell_id, creatures);
end;

As a result, the spell is only cast on part of the creatures... what am I doing wrong? Maybe someone has successfully done something similar...

Added 2 minutes later
I suspect that some spells have a limit on their use, meaning you can't use a spell more than n times at once

Statistics

Welcome our newest member: Emil