Disable World Map via API using GameViewSettings and Event
Posted: Mon Jan 24, 2022 6:20 am
Request:
Please add some means from within the API to selectively disable the world map for players and forces.
Background:
Currently, the World Map is toggled via the M key and produces no API Event that can be consumed to force close the it's GUI, nor is there an API setting to disable it's display. This functionality would be useful in some scenarios where we want not only the fog of war but for the players not to see each others location for strategic purpose.
Proposal:
If an event could be added when the World Map is opened by a Player, then a scenario using the API could determine whether to cancel or close that World Map GUI for specific Players, Forces or everyone.
Another other option would be to have that World map only open based on an additional GameViewSettings member such as "show_world_map", however this would mean that no players in the game would be able to open the world map with the "M" key (or whatever key is assigned) and provide less functionality.
Ideally, the latter would determine whether an event is fired or not in the game.
Thanks for your consideration.
Please add some means from within the API to selectively disable the world map for players and forces.
Background:
Currently, the World Map is toggled via the M key and produces no API Event that can be consumed to force close the it's GUI, nor is there an API setting to disable it's display. This functionality would be useful in some scenarios where we want not only the fog of war but for the players not to see each others location for strategic purpose.
Proposal:
If an event could be added when the World Map is opened by a Player, then a scenario using the API could determine whether to cancel or close that World Map GUI for specific Players, Forces or everyone.
Another other option would be to have that World map only open based on an additional GameViewSettings member such as "show_world_map", however this would mean that no players in the game would be able to open the world map with the "M" key (or whatever key is assigned) and provide less functionality.
Ideally, the latter would determine whether an event is fired or not in the game.
Thanks for your consideration.