BlzUnitHideAbility
- Parameters
whichUnit unitUnit to apply this to
abilId integerRawcode of ability.
flag booleanisHidden: 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 (suggest an edit or discuss on Github)
- return type
nothing- Source code
native BlzUnitHideAbility takes unit whichUnit, integer abilId, boolean flag returns nothing