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!
Hello, I was wondering it it was possible to make an ability where the more units of a type are within a certain range of each other, the stronger buff bonuses they get. If so, how would i trigger that?
Do you mean like a propagating chain or each unit only benefits from its direct neighbor units like an aura?
Anyway, yeah, pick nearby units, count them, arbitrarily valued bonuses can for example be applied via BonusMod. Save the last bonus/picked units amount and update it as necessary.
not a chain, more like an aura, where each unit of a type, say footmen for now, get a bonus depending on how many other footmen are within their vicinity. So, somehow it checks 250 area around every footman, counts the number of other footmen in that area, and adds a bonus based on that number.
Create a unit group with Units in Radius (250) matching condition (Is Ally, Is Alive)
Set an integer to number of units in group
Set a dummy ability that provides a bonus to that number + 1 (because level 1 will do nothing)
Clear leaks
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.