Problme with multiple isPlayer Actors

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
colsalley
Posts: 2
Joined: Tue May 25, 2021 5:27 am

Problme with multiple isPlayer Actors

Post by colsalley »

Hello, I'm new to DS and may just have done something wrong with is. I am using DS 2.1.12 in Unity 2019.4.10f and I would like to have a Conversasion as following:

PlayerA: option1:say something///option2:say something
==> Npc:some respond
==> PlayerB: option1:say something///option2:say something
==>Npc:some respond.

I found:https://www.pixelcrushers.com/phpbb/vie ... php?t=2692 in the forum which suggests the usage of DS_MultiPlayerMenuPatch_2019-11-15.unitypackage should help with this issue.Yet after I imported the package, unity reported two mistakes as under.

Assets\Plugins\Pixel Crushers\Dialogue System\Scripts\UI\Standard\Dialogue\StandardUIResponseMenuControls.cs(143,30): error CS0115: 'StandardUIResponseMenuControls.SetPCPortrait(Sprite, string)': no suitable method found to override

Assets\Plugins\Pixel Crushers\Dialogue System\Scripts\UI\Standard\Dialogue\StandardUIResponseMenuControls.cs(156,30): error CS0115: 'StandardUIResponseMenuControls.SetActorPortraitSprite(string, Sprite)': no suitable method found to override

Would anyone inform me how I can fix this?
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: Problme with multiple isPlayer Actors

Post by Tony Li »

Hi,

Try importing only the example, but not the patch file. The patch file is for an older version of the Dialogue System. To undo it, import the latest version of the Dialogue System.
colsalley
Posts: 2
Joined: Tue May 25, 2021 5:27 am

Re: Problme with multiple isPlayer Actors

Post by colsalley »

Thank you for the reply. Does it mean if I use the latest Version of DS I could solve the multiple isPlayer Problem?
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: Problme with multiple isPlayer Actors

Post by Tony Li »

I think so. From that older forum thread, I imported only the example scene, and not the patch file, into a vanilla DS 2.2.16 project. The example scene played fine.
Post Reply