How to get currently speaking actor through code?
Posted: Sun Nov 29, 2020 8:58 pm
I stumbled trying to get info about the current actor who is talking. I tried several things but I always get the actor that started the conversation. Never the currently speaking actor.
I tried few things but it always get's me Player or Actor who started conversation. Not the currently speaking one.
Pretty much all I need is the name of the actor. I am guessing these is some function that serves this purpose but I'm missing it.
P.S. Great asset!
I tried few things but it always get's me Player or Actor who started conversation. Not the currently speaking one.
Code: Select all
dialogueSystemController.conversationController.actorInfo.Name
dialogueSystemController.CurrentActor.name
DialogueManager.conversationModel.actorInfo.Name
P.S. Great asset!