EnableMinimapFilterButtons
- Parameters
enableAlly booleantrueto enable the button (default),falseto disable. See:GetAllyColorFilterStatefor an explanation.enableCreep booleantrueto enable the button (default),falseto disable. See:GetCreepCampFilterStatefor 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 (raise an issue to discuss on Github or submit a PR)
- return type
nothing- Source code
native EnableMinimapFilterButtons takes boolean enableAlly, boolean enableCreep returns nothing