🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
You could cut your library length almost in half if you added a function:
JASS:
function PairAlliance takes player p, player p2, alliancetype a, boolean flag returns nothing
call SetPlayerAlliance(p, p2, a, flag)
call SetPlayerAlliance(p2, p, a, flag)
endfunction
Yes it's slower but this function doesn't care about efficiency on a grand scale.
I also recommend implementing the cool feature where you have access to allied hero icons on the top left to heal them and such, but don't have access to control them. I think it requires turning on ADVANCED_SHARED_UNITS and then turning on SHARED_VISION.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.