Thread Tools Display Modes
Prev Previous Post   Next Post Next
01/15/15, 02:02 PM   #1
EmberQuill
 
EmberQuill's Avatar
Join Date: Jan 2015
Posts: 4
Scene Manager and the Hidden Attribute

So I understand (more or less) how the Scene Manager works. I know how to get it to show and hide a control based on what scene is open. The thing is, I want a control's visibility to also depend on whether the player is in a guild.

I know how to handle the conditional stuff and detecting when a player joins or leaves a guild; I'm just wondering how I would go about keeping the control hidden. As far as I can tell, there are three possibilities:
  1. SetHidden(true)
  2. Remove the fragment from all of its scenes
  3. Both?
I'd like to know which one has priority: SetHidden or the scene manager. If I manually hide it, will the Scene Manager make it visible again if I switch scenes? If I remove it from all of its scenes, will it be shown or hidden by default?

AFAIK using both would work, but I was wondering if a simpler solution would be enough.
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » Scene Manager and the Hidden Attribute


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