• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Question about variables

Status
Not open for further replies.
Level 17
Joined
Apr 24, 2005
Messages
762
I want to do some trigger like if one unit kills another unit it gets healed. And i want the healing thing to work on a unit group or type. I have to make a variable right? So when i create a new variable it wont show up on the variable selection list. Can someone help?
 
Event - Unit dies
Condition - Dying unit equal to (dying unit of type of (YOUR UNIT) / Dying unit is in (unit group)
Action - Set life of killing unit to 100%

Don't have the editor in front of me, so that trigger is now exact, but it should be sumthing like it...No variables needed btw
 
Status
Not open for further replies.
Back
Top