Page 1 of 1

Problme with multiple isPlayer Actors

Posted: Tue May 25, 2021 5:43 am
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?

Re: Problme with multiple isPlayer Actors

Posted: Tue May 25, 2021 7:58 am
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.

Re: Problme with multiple isPlayer Actors

Posted: Wed May 26, 2021 12:58 am
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?

Re: Problme with multiple isPlayer Actors

Posted: Wed May 26, 2021 8:10 am
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.