Jump to content

Question on rendered UI objects


Recommended Posts

Posted

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!

Posted
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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