• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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