Omni
Ultra Cool Member
- Reaction score
- 37
after seeing a ton of tuorials getting approved i can only say: bump
call ForGroupBJ(GetUnitsInRangeOfLocMatching(800.00, L, [COLOR="Red"]Condition(function Trig_Blaster_Aura_Filter)[/COLOR]), function Trig_Blaster_Aura_UnitLoop)
function filter takes nothing returns boolean
return GetWidgetLife(GetFilterUnit()) > 0.405
endfunction
function action takes nothing returns nothing
local group g = CreateGroup()
local boolexpr b = Condition(function filter)
call GroupEnumUnitsInRange(g, X, Y, 500.0, b)
//...
call DestroyGroup(g)
call DestroyBoolExpr(b)
set g = null
set b = null
endfunction
Why are you using EnumUnit's BlasterAura() level to get the chance?
Shouldn't Triggering unit be used here instead?