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

Easy question about activatable passive skill...

Status
Not open for further replies.
Level 17
Joined
Aug 20, 2007
Messages
1,122
I learned how to make an activatable passive skill by a tutorial here

(Just find Immolation)

But, I wonder, if a unit runs out of mana and is forced to deactivate the immolation, will it be considered as an order to "unimmolation"? or will it not be considered as an order?

I'm typing my essay, I need someone to do this... And I have rep... If you need...
 
Level 23
Joined
Nov 29, 2006
Messages
2,482
No, I tested that in a previous map of mine. The thing you would have to do is to check every x seconds if the units mana is less than or equal to the "buffer mana required" . I would say as a basic, less than or equal to 10, since then you can order the unit to unimmolate the ability to make sure it doesnt bug up or triggers wrong by a mana regeneration or so. (noes, this is almost exaclty what berz said -.-).
However, if the unit dies, and it revives (a hero), then, the ability will be ordered to unimmolate automatically. This is hardcoded in the wc3 engine...
 
Status
Not open for further replies.
Top