Page 1 of 1
Dialogue System overwrites Event System input settings
Posted: Sun Nov 28, 2021 10:14 am
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.
Re: Dialogue System overwrites Event System input settings
Posted: Sun Nov 28, 2021 11:08 am
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.
Re: Dialogue System overwrites Event System input settings
Posted: Sun Nov 28, 2021 11:47 am
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!
Re: Dialogue System overwrites Event System input settings
Posted: Sun Nov 28, 2021 12:28 pm
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.
Re: Dialogue System overwrites Event System input settings
Posted: Sun Nov 28, 2021 12:39 pm
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!
Re: Dialogue System overwrites Event System input settings
Posted: Sun Nov 28, 2021 1:07 pm
by Tony Li
Glad to help!