Thread Tools Display Modes
Prev Previous Post   Next Post Next
04/03/23, 12:46 PM   #6
Kismalyn
Join Date: Mar 2023
Posts: 4
Originally Posted by Baertram View Post
Only fragments support that function where ZO_MixinHideableSceneFragment was used during their initialization,
like ZO_ActionLayerFragment or ZO_HUDFadeSceneFragment

You need to use on of the fragments or call ZO_MixinHideableSceneFragment (yourFragmentObject) to add the function to your fragment.

See ZOs code at:
esoui/libraries/zo_scene/zo_scenefragmenttemplates.lua
ahhhh that makes sense. Thanks for this.

This is an addon I'm likely taking over, so if I do, I might refactor in that format.
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » conditoinally show a scene fragment


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