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

UnitDamageTarget question

Status
Not open for further replies.
Level 13
Joined
Jan 2, 2016
Messages
978
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