UnitDamagePointLoc
- Parameters
whichUnit unitdelay realradius realloc locationamount realwhichAttack attacktypewhichDamage damagetype- comment
- patch
1.17a
- Source
- Blizzard.j (raise an issue to discuss on Github or submit a PR)
- return type
boolean- Source code
function UnitDamagePointLoc takes unit whichUnit, real delay, real radius, location loc, real amount, attacktype whichAttack, damagetype whichDamage returns boolean return UnitDamagePoint(whichUnit, delay, radius, GetLocationX(loc), GetLocationY(loc), amount, true, false, whichAttack, whichDamage, WEAPON_TYPE_WHOKNOWS) endfunction