• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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