Runtime overide dialog UI changes with multiple gameobject?
Posted: Sat Jan 07, 2023 6:07 am
I have a couple GameObject in one scene related with dialog system, each with dialog actor corresponding to the identity of the person.
Cutscene 1 (conversation 1)
Person 1
Person 2
Person 3
Cutscene 2 (conversation 2)
Person 2
Person 3
Person 4
Each person have a dialog actor and sometimes for example I want to change the UI that is being used for Person 3 only but only on Cutscene 1. So I seperate the objects. But when I add the ovverride dialog UI it doesn't seem to work properly. Do I need to manually change the actor conversation before to have the desired result?
And this requires custom lua scripts? Because I can't seem to find any build in method. How does the dialog system change the actor on runtime? Even when I disable cutscene 2, the dialog don't seem to be changing the actor gameobject?
Cutscene 1 (conversation 1)
Person 1
Person 2
Person 3
Cutscene 2 (conversation 2)
Person 2
Person 3
Person 4
Each person have a dialog actor and sometimes for example I want to change the UI that is being used for Person 3 only but only on Cutscene 1. So I seperate the objects. But when I add the ovverride dialog UI it doesn't seem to work properly. Do I need to manually change the actor conversation before to have the desired result?
And this requires custom lua scripts? Because I can't seem to find any build in method. How does the dialog system change the actor on runtime? Even when I disable cutscene 2, the dialog don't seem to be changing the actor gameobject?