1. Fill your cup and take your pick among the maps best suited for this year's Hive Cup. The 6th Melee Mapping Contest Poll is up!
    Dismiss Notice
  2. Shoot to thrill, play to kill. Sate your hunger with the 33rd Modeling Contest!
    Dismiss Notice
  3. Do you hear boss music? It's the 17th Mini Mapping Contest!
    Dismiss Notice
  4. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Making stuff capturable when its health falls below 50%

Discussion in 'StarCraft II Modding' started by Anteep, May 30, 2010.

  1. Anteep

    Anteep

    Joined:
    Feb 28, 2005
    Messages:
    123
    Resources:
    3
    Maps:
    3
    Resources:
    3
    I could do this in WC3, but everything seems to have changed around, anyone have any ideas on how to make a unit type switch to the owner of the attacking unit when the attacked unit's health falls to or below 50%?

    nevermind got some help
    ((Triggering unit) Life (Percent) (Current)) <= 50.0
     
    Last edited: May 30, 2010