• 🏆 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!

[Solved] Boolean - Unit Has Ability

Status
Not open for further replies.
Level 19
Joined
Aug 8, 2007
Messages
2,765
^ Cant seem to find it.. does it exist? or will i have to do some triggers to register the ability
 
Level 19
Joined
Aug 8, 2007
Messages
2,765
its integer coz only u can check the ability level=>if level is greater than 0 then unit have that ability :p

Try integer comparison - level of ability for unit > 0

Thank you to both!

e/ cant rep u maker. ah well.

e/ ok new problem thats a bit different than the other one. I was using the boolean with Bribe's GUI damage engine, but now, i need a boolean to check that the ability used was Attack (because the effect of the item will proc for spells, and i dont want that)

e/ cant remove the solved tag..



(Current order of DamageEventSource) Equal to (Order(attack))
 
Status
Not open for further replies.
Top