This client event fires so scripts can register map directives, additional
configuration mapmanager applies while starting a map, through the add
function it passes in, before the map data is handed off to the game.
Event Name
getMapDirectivesParameters
- function add: Call this with a directive to register it for the map being started
Example
on('getMapDirectives', (add) => {
add(function (map) {
// apply a directive to `map`
})
})