• 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] 0 Mana

Status
Not open for further replies.
Level 28
Joined
Mar 25, 2008
Messages
2,955
  • Events
    • Time - Every 0.5s
  • Conditions
  • Actions
    • Custom script: set bj_wantDestroyGroup = true
    • Unit Group - Pick every unit in (Playable Map Area) and do If (Picked Unit) current mana equal to 0 then do Unit - Kill (Picked Unit) else do nothing
That's the most easiest thing i can think of..
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
  • ASDF
    • Events
      • Time - Every X Seconds of Game Time
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick Every Unit in (<Your units that die at 0 mana) Matching (MAna of (Matching Unit) Equal to 0.00) and do Actions
        • Loop - Actions
          • Unit - Kill (Picked Unit)
EDIT: Damn, this is why opening every window in T&S at once is bad for timing :p
 
Status
Not open for further replies.
Top