Dialogue System overwrites Event System input settings

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
fr4231
Posts: 20
Joined: Sun Nov 28, 2021 9:44 am

Dialogue System overwrites Event System input settings

Post by fr4231 »

Hi,

I set up several inputs to control the dialogue system choices (controller and keyboard) with the event system (old input), however the dialogue system always just overwrites those settings and changes the vertical and horizontal axis inputs to d-pad, what I would like to avoid.
How can I disable this function?

I tried turning off the input device manager, but no luck.

Using Invector.
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue System overwrites Event System input settings

Post by Tony Li »

Hi,

Invector overwrites the input, not the Dialogue System. Examine your vInventory component -- in particular, the section labeled This fields will override the EventSystem Input.
fr4231
Posts: 20
Joined: Sun Nov 28, 2021 9:44 am

Re: Dialogue System overwrites Event System input settings

Post by fr4231 »

Hi,

Thanks a lot!
That was it after all!

I guess that’s more like an Invector related question, but do you know how to ignore these settings in case of a dialogue manager trigger?

I think the problem started when today I installed Quest Machine and added Invector Use Inventory to the scripting define symbols as it seemed necessary for the integration to work.

(By removing the scripting symbol it works just fine again, but I guess that would make the Quest Machine integration unusable).

Thanks a lot!
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue System overwrites Event System input settings

Post by Tony Li »

You may notice that, even without Quest Machine or the Dialogue System installed, if you open Invector's inventory it will overwrite the EventSystem settings.

The USE_INVECTOR_INVENTORY symbol tells the Dialogue System and Quest Machine that you're using Invector. When this symbol is set, it tells Invector to overwrite the EventSystem settings right away instead of only after opening the inventory. This keeps the inputs consistent. (I don't know why the Invector devs decided to only overwrite the EventSystem settings when the inventory UI is first opened.)

The solution is to allow Invector to overwrite the input settings. Configure the vInventory component's This fields will override the EventSystem Input to use the inputs that you want to use for Unity UI navigation -- that is, for Invector inventory navigation, for Dialogue System menu navigation, and for Quest Machine UI navigation.
fr4231
Posts: 20
Joined: Sun Nov 28, 2021 9:44 am

Re: Dialogue System overwrites Event System input settings

Post by fr4231 »

Worked great!
Yeah I also feel it’s not a very logical system, but now it seems to be working.
Thank you very much!
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue System overwrites Event System input settings

Post by Tony Li »

Glad to help!
Post Reply