Thread Tools Display Modes
02/13/17, 03:35 PM   #1
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
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.
  Reply With Quote
02/14/17, 02:36 AM   #2
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Originally Posted by Rhyono View Post
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()
  Reply With Quote
02/14/17, 02:38 AM   #3
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2016
Posts: 409
Try SCENE_MANAGER:ShowBaseScene().

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

ESOUI » Developer Discussions » Lua/XML Help » Close Scene

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off