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

Help in Changing Buffs

Status
Not open for further replies.
Level 13
Joined
Jun 22, 2004
Messages
783
You don't need dummy units to do it, and it's actually really easy.

Go to the ability, remove the buff "stunned(paused)" and replace them with the following 3 buffs.
"Sleep"
"Sleep (paused)"
"Sleep (stunned)"
 
Level 7
Joined
Nov 12, 2005
Messages
299
well that would make them look like they're sleeping. but it wont have the same effect.
for example they wont "wake up" when you attack them.
they will also aggro which isn't what sleeped units do.
 
Level 13
Joined
Jun 22, 2004
Messages
783
don't know what aggro is but you can simply wake them with one trigger.
  • trigger
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacked unit) has buff Sleep) Equal to True
    • Actions
      • Game - Display to (All players) the text: (Name of (Attacked unit))
      • Unit - Wake up (Attacked unit)
      • Unit - Unpause (Attacked unit)
      • Unit - Remove All buffs from (Attacked unit)
 
Level 7
Joined
Nov 12, 2005
Messages
299
they are neither sleeping neither they are paused. those actions are not needed.
aggro = attracting nearby enemy units to attack you...if you order an attack-move next to a sleeped enemy unit, he wont be attacked
removing all buffs is not so wise, use remove specific buff.
 
Level 13
Joined
Jun 22, 2004
Messages
783
Well I did not have the editor at hand, so I just was a bit more carefull at it, nonetheless here is a refresh and I bet this is a lot easier to do than casting dummy units and using alot of variables ;) which is what my core intention was ;)


  • trigger
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacked unit) has buff Sleep) Equal to True
    • Actions
      • Unit - Remove negative buffs from (Attacked unit)
 
Last edited:
Status
Not open for further replies.
Top