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

How to make a unit to cast a spell when beign attacked?

Status
Not open for further replies.
Level 6
Joined
Aug 31, 2018
Messages
157
I am making a boss which use mana shield but theres something broken and it deactive mana shield.. So i need a trigger where when the boss beign attacked to cast mana shield which cant be deactivated.

Also how can i make a trigger where the Boss (a unit) cast a spell at low hp? I use the picture below but it doesnt work.
 

Attachments

  • Rock 3.png
    Rock 3.png
    11.2 KB · Views: 40
Level 29
Joined
Feb 18, 2014
Messages
3,595
I am making a boss which use mana shield but theres something broken and it deactive mana shield.. So i need a trigger where when the boss beign attacked to cast mana shield which cant be deactivated.
  • Trigger
    • Events
      • Unit - A unit is Attacked
    • Conditions
      • (Triggering unit) Equal to YourUnit
    • Actions
      • Unit - Order YourUnit to Neutral Naga Sea Witch - Activate Mana Shield
Also how can i make a trigger where the Boss (a unit) cast a spell at low hp? I use the picture below but it doesnt work.
Someone has already answered your question.
 
Status
Not open for further replies.
Top