hi , very good plugin. nice work .
maybe this post is old but I have a question : can you turn on/off the plugin with a plugin command or a script call ? like turn it off in certain maps ? not just hide, turning the plugin off like in a "character select scene"
Viewing post in 09/08/2021 - Stable version! comments
Hi there!
On regular and Dpad type buttons, you can specify a condition for the buttons to show on the plugin parameter.
If you want it to not show on the maps, you can use this:
return !([10, 20, 35].includes($gameMap.mapId()))
This will return true, if the current map id is not any of those listed inside the brackets. So just keep listing the map ids you do not want to show the buttons.
Another way is hide/show by using script calls:
Eli.MobileControls.hideButtons()
or
Eli.MobileControls.showButtons()