BlzUnitHideAbility

Parameters
whichUnit unit

Unit to apply this to

abilId integer

Rawcode of ability.

flag boolean

isHidden: true to hide, false to show.

comment

Hides or unhides an ability for a unit.

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

patch

1.29.2.9231

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