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

UnitDamageTarget question

Status
Not open for further replies.
Level 13
Joined
Jan 2, 2016
Messages
973
native UnitDamageTarget takes unit whichUnit, widget target, real amount, boolean attack, boolean ranged, attacktype attackType, damageType, weapontype weaponType returns boolean
What are the arguments "attack" and "ranged" for?
I, like Blizzard, always put "true" in the 1-st one and "false" in the 2-nd, but what will actually happen if I put "true" in "ranged", or "false" in "attack"?
 
Status
Not open for further replies.
Top