Enabling map with a script

Atokrad
16 Feb 2022, 00:04

I want to disable the map in my game with a script during longer passages so there is more room to display text, is there a way to use a script to activate the map or maybe move it to one of the panes?


Pertex
17 Feb 2022, 22:19

You can hide the map with
JS.ShowGrid (1)

Best ist to save the original size with
game.originalsize=game.mapsize

and then restore it with
JS.ShowGrid (game.originalsize)