Thread Tools Display Modes
Prev Previous Post   Next Post Next
06/04/15, 05:11 PM   #1
hoydyd
Join Date: May 2015
Posts: 7
Trouble Hiding Objects

Hello again,

I am having trouble hiding objects related to the reticle, such as the reticle itself, stealth text, reticle interact button etc

In the mean time i have been setting a Anchor offscreen if i wanted to hide the element, then restoring the original anchor when i want to show it, as calling SetHidden(true) seems to hide it until it shows after exiting UI, killing an enemy and other cases. I have registered events to try and combat this, but it seems that unless i set a delay on the function that was registered to the event, that the object wil reappear (seems to reappear within first 0.7-0.8 seconds). I am guessing that I need to somehow unregister an event on the object (?), as I have seen that function in zgoo, however I havent had any success while playing around with it.

Any ideas?

The method ive been using in the meantime does work, however I would rather see if i can somehow use SetHidden() so i dont have to store original anchors and such.

Thank you
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » Trouble Hiding Objects


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