Check if Specific Conversation or Actor is Active in Script?
Check if Specific Conversation or Actor is Active in Script?
I know I can use dialogueManager.IsConversationActive to check if any conversation is active, but is there a way to check if either a specific conversation or if not, if a specific actor is active in a script? Thank you for any help.
Re: Check if Specific Conversation or Actor is Active in Script?
Hi,
If you only allow one conversation at a time, which is the default setting on the Dialogue Manager, you can check DialogueManager.lastConversationStarted for the conversation title or DialogueManager.lastConversationID for the conversation ID number. The actor is in DialogueManager.currentActor.
If you allow simultaneous conversations, you can loop through DialogueManager.instance.activeConversations.
If you only allow one conversation at a time, which is the default setting on the Dialogue Manager, you can check DialogueManager.lastConversationStarted for the conversation title or DialogueManager.lastConversationID for the conversation ID number. The actor is in DialogueManager.currentActor.
If you allow simultaneous conversations, you can loop through DialogueManager.instance.activeConversations.
Re: Check if Specific Conversation or Actor is Active in Script?
Awesome thank you.