Changing conversant based on variable before conversation starts.
Posted: Thu Jul 07, 2022 2:45 pm
Hi Tony,
My game has multiple characters the player can select from. Each character is a unique prefab and based on which one the player selected the selected character's index will be stored in a variable. I want each character to have a different set of portraits during dialogue. Currently I am going at this by setting a different actor for each character with different portraits, but I don't know how to get my characterIndex variable before a conversation and set the corresponding actor during runtime.
My game has multiple characters the player can select from. Each character is a unique prefab and based on which one the player selected the selected character's index will be stored in a variable. I want each character to have a different set of portraits during dialogue. Currently I am going at this by setting a different actor for each character with different portraits, but I don't know how to get my characterIndex variable before a conversation and set the corresponding actor during runtime.