Page 1 of 1

hide/close all open windows

Posted: Tue May 02, 2017 2:27 pm
by mophydeen
I'd like a way to close all windows a player has open at once.

eg.
- train windows
- factory windows
- inventory
-...

Re: hide/close all open windows

Posted: Tue May 02, 2017 7:47 pm
by Rseding91

Code: Select all

game.player.opened = nil

Re: hide/close all open windows

Posted: Tue May 02, 2017 8:06 pm
by mophydeen
Rseding91 wrote:

Code: Select all

game.player.opened = nil
Thank you