Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Displaying information help


skip999
 Share

Recommended Posts

Hello,

I would like to display some text on the player's screen (like when an item is scrolled over, only permanently) when a certain condition is met. I know how to add a tooltip via overriding the addInformation() method, and I imagine it is done through that method. However I have no idea what to call.

 

 

Thanks in advance!

Link to comment
Share on other sites

Okay one final quesiton: How would I get either an instance of IReorderingProcessor or an instance of ITextComponent from an instance of ITextProperties? I took a look around the available method calls and couldn't find one that worked.

Link to comment
Share on other sites

I'm not quite sure what is the usage but you can either new one or use IReorderingProcessor.EMPTY, and since ITextComponent inherits ITextProperties, some checkings and casting should work.

Edited by poopoodice
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.