BlzUnitHideAbility

Parameters
whichUnit unit

Unit to apply this to

abilId integer

Rawcode of ability

flag boolean

isHidden: true to hide, false to show

bug

The boolean flag doesn't work as expected, it acts more like an integer counter: https://www.hiveworkshop.com/threads/blzunithideability-and-blzunitdisableability-dont-work.312477/

comment

Hides or unhides an ability for a unit.

patch

1.29

return type
nothing
Source code
native BlzUnitHideAbility                          takes unit whichUnit, integer abilId, boolean flag returns nothing
Source
unit.j
wc3modding.com
BlzUnitHideAbility