Search found 4 matches

by cro
Wed Aug 05, 2020 2:12 pm
Forum: Dialogue System for Unity
Topic: Easiest way to change portrait name?
Replies: 6
Views: 221

Re: Easiest way to change portrait name?

Nice! Thanks for the help, Tony! Hopefully these little examples help anyone else who stumbles upon this :D
by cro
Wed Aug 05, 2020 2:00 pm
Forum: Dialogue System for Unity
Topic: Easiest way to change portrait name?
Replies: 6
Views: 221

Re: Easiest way to change portrait name?

Side note: If you're setting DialogueActor.actor from code, you should be able to assign any string to it. As long as that GameObject is assigned to the trigger's Conversation Conversant, it will use whatever string you assign to actor. Oh, cool! So something like DialogueActor myActor = GetCompone...
by cro
Wed Aug 05, 2020 11:32 am
Forum: Dialogue System for Unity
Topic: Easiest way to change portrait name?
Replies: 6
Views: 221

Re: Easiest way to change portrait name?

Thanks, Tony! I definitely overlooked some stuff when searching earlier ^^;; For anyone else looking for a quick step-by-step: Add the dialogue actor component to your gameobject https://i.imgur.com/80NhWlN.png Actually add the actor name in the dialogue system's actors tab https://i.imgur.com/R2rfl...
by cro
Wed Aug 05, 2020 10:35 am
Forum: Dialogue System for Unity
Topic: Easiest way to change portrait name?
Replies: 6
Views: 221

Easiest way to change portrait name?

I'm using a modified version of the JRPG template: https://i.imgur.com/A1rp0Ay.png I have a GameObject that I've named NPC and intend to use as a generic prefab. I have an npcName variable set in a script on that object as a string value. I'd like to either use that npcName variable somehow via scri...