2:When the custom gui is placed in the center, it doesnt update if a element is added to a child element:
Ej:
Code: Select all
game.player.gui.center.add{type="frame",name="frame",caption="This is centered fine"}
game.player.gui.center.frame.add{type="button",name="button1",caption="---"}
Code: Select all
game.player.gui.center.add{type="frame",name="frame",caption="This doesnt"}
game.player.gui.center.add{type="flow",name="flow"}
game.player.gui.center.frame.flow.add{type="button",name="button1",caption="---"}
3: The GUI is still there as a "ghost" if the GUI is destroyed.
Code: Select all
game.player.gui.center.add{type="frame",name="frame",caption="This is centered fine"}
game.player.gui.center.frame.add{type="button",name="button1",caption="---"}
game.player.gui.center.frame.destroy()