i would like to know if there is an option to switch 2 units from there places?
one is in a region , the other has a variable saved position
and i would like to switch unit1 with unit2 , how do i do this?
so what you're saying is that once a unit is summoned on the map and it's a hero it sets the variable[hero number] + 1.
could you please make a working demo? please?
-i have 8 players and each player can have up to 2 heroes
-each hero is summoned trought a trigger
thank you a lot
i would like to know how i would be able to put a number to a hero, because i have 2 heroes and i think it would be easier making triggers if they have a number.
and knowing that the hero isn't always the same i would need to set the first summoned hero to a numer and the second hero as well...
well i found out a way to do this but i'm stuck, i made a region ,if the hero(1) is selected and is in this region it saves the position of the hero(2) that isn't in the region and then switches the hero(1) to the saved position of hero(2) and hero(2) to the position of hero(1) (the region).
that doesnt work , i want it to be so that when double clicking its icon it switches the heroes from positions
maybe double selecting them but dont know if thats possible?
i made this trigger
Player Heroes
Events
Units - A unit enters All Heroes Ready <gen>
Conditions
((Unit-type of (Entering unit)) Different then Wisp) and ((Owner of (Entering unit)) Equal to Player 1 (Red))
Actions
Set Player1_Heroes[1] =...