Feature request for UCC integration

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
christianwiele
Posts: 29
Joined: Sat Mar 27, 2021 7:34 am

Feature request for UCC integration

Post by christianwiele »

Hi,

I am using DS with UCC and the PUN add-on for multiplayer. The system is basically working but I have one request. Right now it is possible that multiple players can talk independently to a single NPC at the same time. I would like to prevent this, so that at the same time only one player can talk to a specific NPC. This is not possible as the CanInteract method in the DialogueSystemTriggerInteractableTarget class always returns true. I cannot inherit from this class as the method is not overridable. So the only way is to copy the class which is not so nice. Is it possible that you mark the method virtual so it becomes overridable, and I can inherit from the class?

Thanks, Christian
User avatar
Tony Li
Posts: 22163
Joined: Thu Jul 18, 2013 1:27 pm

Re: Feature request for UCC integration

Post by Tony Li »

Hi Christian,

Done! I just sent off the updated integration to Opsive. Both methods (CanInteract and Interact) are now virtual, and the player property is protected.
christianwiele
Posts: 29
Joined: Sat Mar 27, 2021 7:34 am

Re: Feature request for UCC integration

Post by christianwiele »

Thanks a lot !
Post Reply