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

death buff

Status
Not open for further replies.
Level 21
Joined
Aug 21, 2005
Messages
3,699
when units die, they lose all buffs. Or do you want nearby units to gain a buff when the "caster" dies? You'll have to make a trigger such as:

  • Events
    • Unit - a unit dies
  • Conditions
    • Unit - level of ability (your abil) on triggering unit > 0
  • Actions
    • pick every unit in units within 500 of triggering unit and do:
      • Unit - create dummy unit
      • Unit - add expiration timer to last created unit
      • Unit - order last created unit to "cast your buffspell" on picked unit
Contains a groupleak, make sure you fix it.
 
Status
Not open for further replies.
Top