ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   Close Scene (https://www.esoui.com/forums/showthread.php?t=6825)

Rhyono 02/13/17 03:35 PM

Close Scene
 
How can I close a built-in scene? I don't want it modified in any way, I just want to simulate the player closing it.

votan 02/14/17 02:36 AM

Quote:

Originally Posted by Rhyono (Post 29858)
How can I close a built-in scene? I don't want it modified in any way, I just want to simulate the player closing it.

Technically you do not close a scene, but showing another.
You can go to the HUD scene:
Lua Code:
  1. SCENE_MANAGER:ShowBaseScene()

Dolgubon 02/14/17 02:38 AM

Try SCENE_MANAGER:ShowBaseScene().

This will close whatever is currently open (inventory, craft station, etc.)


All times are GMT -6. The time now is 01:42 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI