Page 1 of 1

custom LuaGui

Posted: Fri Feb 24, 2017 11:13 pm
by mfoo
Hi,

is there a way to hide, modify or extend the LuaGui from an entity when its .opened (e.g constant-combinator)? Trying to add a custom gui when you open an entity, but .top or .left seems weird for that purpose (for now) and .center would work i guess if you could hide the original gui.

any suggestions?
-

Re: custom LuaGui

Posted: Sat Feb 25, 2017 12:13 am
by Adil
No you can't close/hide or modify the opened gui of core game.

One of alternatives is to bind a custom input event to some simple key combination and use that event to open the gui if needed.
example

Re: custom LuaGui

Posted: Sat Feb 25, 2017 12:54 am
by mfoo
ya i read that too just thought there was a more elegent way, thanks though