• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Self buffing Unit

Status
Not open for further replies.
Level 3
Joined
Nov 28, 2010
Messages
42
Hello,

I want to make a unit who gains +5 attack for every unit of his race that is near him.

How can i do that?

I hope you can help me. Thank you for reading this.

Minoros
 
Level 3
Joined
Nov 28, 2010
Messages
42
If you use a bonus mod system then you need a periodic trigger to do the unit group loop / checking for how many units in range. A trigger to add units to the unit group when they enter map. And a trigger to remove units from the group when they die / get removed.

Okay,

can you maybe send a screenshot how i do the perodic trigger that does the unit group loop?
 
Status
Not open for further replies.
Top