Page 1 of 1

Gameplay Input no longer disabled after using OpenShop Command

Posted: Fri Jan 29, 2021 4:41 pm
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

Re: Gameplay Input no longer disabled after using OpenShop Command

Posted: Fri Jan 29, 2021 6:40 pm
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.

Re: Gameplay Input no longer disabled after using OpenShop Command

Posted: Fri Jan 29, 2021 9:20 pm
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

Re: Gameplay Input no longer disabled after using OpenShop Command

Posted: Fri Jan 29, 2021 10:30 pm
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.)

Re: Gameplay Input no longer disabled after using OpenShop Command

Posted: Sat Jan 30, 2021 1:58 pm
by Jbacal
Problem solved! Thanks again for your top-notch support!

Re: Gameplay Input no longer disabled after using OpenShop Command

Posted: Sat Jan 30, 2021 2:26 pm
by Tony Li
Glad to help!