Hi Tony
Is there a way to dynamically assign a sprite for the Quest Jounral UI?
We have multiple spawned players the user can choose from and I would like to have the icon for the Quest Jounal UI display a unique image for each player. I could write a little script that when the player it searches for the Sprite component and adds the image but is there anything in the system that does this already? Sorry is I'm missing the obvious.
Thanks
Nathan
Quest Journal UI Icon for Spawned Player
Re: Quest Journal UI Icon for Spawned Player
That was an oversight. This patch addresses it: QM_1_1_5_Patch20190327.unitypackage
You'll still need a small script that sets the quest journal's image value. Example:
There's also a new checkbox "Show Display Name In Heading". If ticked, it will change the text "Quest Journal" to the Quest Journal's Display Name value.
You'll still need a small script that sets the quest journal's image value. Example:
Code: Select all
FindObjectOfType<QuestJournal>().image = /* player's sprite */
Re: Quest Journal UI Icon for Spawned Player
Thanks, tony
Re: Quest Journal UI Icon for Spawned Player
Glad to help. Thanks for catching the bug!