Hide bark by script

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
SilverMoon17
Posts: 9
Joined: Tue Oct 17, 2023 2:06 pm

Hide bark by script

Post by SilverMoon17 »

How i can hide bark by script? For example i have interaction with notes and i want to hide bark if note is open. I try to get actor by conversation name, then IBarkUI, then hide it but there is way do it more flexible?
User avatar
Tony Li
Posts: 21678
Joined: Thu Jul 18, 2013 1:27 pm

Re: Hide bark by script

Post by Tony Li »

Hi,

Yes. Add a Bark Group Member component to each barker. When the player interacts with a note, call BarkGroupManager.CancelAllBarks().
Post Reply