Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
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.