Gameplay Input no longer disabled after using OpenShop Command

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Jbacal
Posts: 19
Joined: Sun Jan 24, 2021 9:38 pm

Gameplay Input no longer disabled after using OpenShop Command

Post by Jbacal »

I am using a combination of Opsive TPC, UIS and Dialogue System. When my shopkeeper NPC uses the OpenShop Sequence command at the end of a conversation, the shop UI opens as expected. However, the gameplay input is no longer disabled and the player can now move around and jump while the shop UI is still open. This problem doesn't happen when I open the shop UI directly (i.e. not from the Dialogue System conversation).

My guess is that when the "converse" state ends, the disable Gameplay input is automatically unchecked even though the shop UI is now visible.

How can I make sure the gameplay input stays disabled when I use the OpenShop command at the end of a conversation?

Thanks for your help and best wishes,
Jay
Last edited by Jbacal on Fri Jan 29, 2021 9:34 pm, edited 1 time in total.
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: Gameplay Input no longer disabled after using OpenShop Command

Post by Tony Li »

Hi Jay,

Are you using the latest integrations? Also, add the scripting define symbol UIS. (Edit > Project Settings -> Player > Other Settings > Scripting Define Symbols.) This enables UIS-awareness in the Converse ability.
Jbacal
Posts: 19
Joined: Sun Jan 24, 2021 9:38 pm

Re: Gameplay Input no longer disabled after using OpenShop Command

Post by Jbacal »

How do I determine if I have the latest integrations? Is there a version number? Where is the best place to download them?

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

Re: Gameplay Input no longer disabled after using OpenShop Command

Post by Tony Li »

Hi,

Opsive's site is the place to get it. Unfortunately they don't keep the version info on the file.

Check if your Converse.cs script has this on or around line 117:

Code: Select all

#if UIS
If not, here's the latest as of this post:

OpsiveController_DialogueSystem_Integration_2021-01-12.unitypackage

(Future readers: A later version may be available on Opsive's site.)
Jbacal
Posts: 19
Joined: Sun Jan 24, 2021 9:38 pm

Re: Gameplay Input no longer disabled after using OpenShop Command

Post by Jbacal »

Problem solved! Thanks again for your top-notch support!
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: Gameplay Input no longer disabled after using OpenShop Command

Post by Tony Li »

Glad to help!
Post Reply