• 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.

[Trigger] (Last Created Unit) for Multiple Units?

Status
Not open for further replies.
Level 10
Joined
Jun 10, 2007
Messages
557
I have a trigger that activates when a certain summoning spell is cast, and it creates additional units equal to one thirtieth of the triggering unit's Intelligence. After which I would like to add a Generic expiration timer of one minute to the unit. This works fine and dandy... only if one extra unit is summoned. If, say, 4, are summoned, none get the expiration timer. Is there a way to do this? Pick Every Unit Matching X At Location might be kinda clunky and not work properly.

Thanks in advance.
 
Level 4
Joined
Jan 2, 2008
Messages
103
  • Events: Unit- unit Finishes casting an ability
  • Conditions:[Ability being cast] Equal to Intelligence Summon
  • Actions:Unit Group- Pick every unit in [Last Created Unit Group] and do [Unit-Add a 60.00 Generic expiration timer to [Picked unit]]
 
Status
Not open for further replies.
Top