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

So siple: Does this leaks

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
Unit Variable does not leak but when it comes to a trigger that performs same repeating function ((Triggering unit) is used more than 1 time in the row without the use of variable) is not efficient at all

Not Efficient:
  • Not Efficient
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Animate Dead
    • Actions
      • Unit - Make (Triggering unit) Invulnerable
      • Unit - Pause (Triggering unit)
      • Unit - Kill (Triggering unit)
Efficient
  • Efficient
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Animate Dead
    • Actions
      • Set Caster = (Triggering unit)
      • Unit - Make Caster Invulnerable
      • Unit - Pause Caster
      • Unit - Kill Caster
 
Status
Not open for further replies.
Top