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

'Unit - Set life to value' on banished units.

Status
Not open for further replies.
Level 6
Joined
Sep 13, 2013
Messages
155
It's not that complicated though.

  • Your Ability
    • Events
    • Unit - A unit Starts the effect of an ability
    • Conditions
    • (Ability being cast) Equal to Your Ability
    • Actions
  • Custom script: set bj_wantDestroyGroup = true
    • Unit Group - Pick every unit in (Units within 650.00 of (Position of (Triggering unit)) matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an ally of (Owner of (Triggering unit))) Equal to True))) and do (Actions)
    • Loop - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • ((Picked unit) is Ethereal) Equal to True
    • Then - Actions
    • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + 100.00)
    • Else - Actions
    • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + 50.00)
 
Status
Not open for further replies.
Top