EnableMinimapFilterButtons
- Parameters
-
enableAlly boolean
true
to enable the button (default),false
to disable. See:GetAllyColorFilterState
for an explanation.enableCreep boolean
true
to enable the button (default),false
to disable. See:GetCreepCampFilterState
for an explanation. - comment
Toggles the "player color display mode" and "minimap creep display" buttons.
When the buttons are disabled, the player cannot control the minimap appearance or player colors (ally/enemy).
- note
This controls a player setting. Do not change it without a reason. Moreover this is an accessibility setting that may be used by visually impaired players.
- note
The buttons turn gray and their hotkeys stop working too.
- patch
1.13
- Source
- common.j
- return type
nothing
- Source code
native EnableMinimapFilterButtons takes boolean enableAlly, boolean enableCreep returns nothing