Hi,
i would like to achieve this
img
where my character is reading a random book on a shelf , without displaying the portrait name.
right now if i set the conversant to None, it displays a blank portrait name.
how can i hide/disable the portrait name only when i set the conversant to none?
Hide NPC Portrait Name when conversant / actor is None
Re: Hide NPC Portrait Name when conversant / actor is None
Hi,
Two ways:
1. Add a subtitle panel without portrait name/image elements to your dialogue UI. Assign it to the Standard Dialogue UI component's Conversation UI Elements > Subtitle Panels list and make a note of its element number. This is its panel number. Then either:
Two ways:
1. Add a subtitle panel without portrait name/image elements to your dialogue UI. Assign it to the Standard Dialogue UI component's Conversation UI Elements > Subtitle Panels list and make a note of its element number. This is its panel number. Then either:
- Include "[panel=#]" to the book's dialogue text to show it in that panel, where # is the panel number
- Or add a Dialogue Actor component to the book GameObject (if one exists, or create an empty one) and set its Dialogue UI Settings > Subtitle Panel Number to the panel number.