Page 1 of 1
Command to show Character screen
Posted: Mon Aug 22, 2022 7:33 pm
by NeilN
Is there a Lua command to show the character screen? I'd like to create a mod that adds a button to the shortcut bar that brings it up.
Re: Command to show Character screen
Posted: Mon Aug 22, 2022 10:39 pm
by Silari
LuaControl.opened lets you read/write what a player has opened. If you want them to open the character screen, set it to that player.
Code: Select all
/c game.player.opened = game.player
in the console will make the player who runs it open their character window.