Jump to content

Question on rendered UI objects


Krasnov

Recommended Posts

Some objects on the UI seem to be neither entities nor widgets. How would I go about identifying them so that I may reference them in a script? Some examples of this phenomenon are the rendered player model during character creation, the lock and keys in the pillory random event, or the answers in the quizmaster or classroom random events.

Also interested to know how to read the status of a widget, such as the progress bar on tutorial island. I don't have another example of this at the moment but it occurred to me that this will likely be something I'll run into again.

Thanks for any advice!

Link to comment
Share on other sites

9 hours ago, Krasnov said:

Some objects on the UI seem to be neither entities nor widgets. How would I go about identifying them so that I may reference them in a script? Some examples of this phenomenon are the rendered player model during character creation, the lock and keys in the pillory random event, or the answers in the quizmaster or classroom random events.

Also interested to know how to read the status of a widget, such as the progress bar on tutorial island. I don't have another example of this at the moment but it occurred to me that this will likely be something I'll run into again.

Thanks for any advice!

https://github.com/Explv/Tutorial-Island/blob/master/src/script/TutorialIsland.java

for your tutorial island question - can use configs there

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...