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

[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