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!
Like I said, you could just make a game wide exp boost for all heroes owned by all players, adding some conditions in as needed. I think this would work.
Quest Exp
Events
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Unit Group - Pick every unit in (Units owned by (Picked player) matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)
Loop - Actions
Set Temp_Group = (Units owned by (Picked player) matching (((Matching unit) is A Hero) Equal to True))
Unit Group - Pick every unit in Temp_Group and do (Actions)
Loop - Actions
Hero - Add 1000 experience to (Picked unit), Show level-up graphics
Your trigger leaks and could be simpler usings jass function for destroying groups.
I'm also not sure about that player force, if it does not create another leak someway.
Quest Exp
Events
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by (Picked player) matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)
Loop - Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by (Picked player) matching (((Matching unit) is A Hero) and do (Actions)
Loop - Actions
Hero - Add 1000 experience to (Picked unit), Show level-up graphics
Your trigger leaks and could be simpler usings jass function for destroying groups.
I'm also not sure about that player force, if it does not create another leak someway.
Quest Exp
Events
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by (Picked player) matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)
Loop - Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by (Picked player) matching (((Matching unit) is A Hero) and do (Actions)
Loop - Actions
Hero - Add 1000 experience to (Picked unit), Show level-up graphics
He didn't put them int a group, and seemed to want a trigger that applied to all heroes owned by all players. Also I believe that All Players does not leak. But yes, I forgot about that way, been like 5 months.
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.