Hi,
Currently we have one response menu that its placed in the middle of the screen, but now we need to use with one with different design when its an important choice for the user.
What would be the recommended approach to choose in a dialogue system block the response menu we want in each case? (we have implemented our own IDialogueUI/IStandardDialogueUI so getting a new parameter in ShowResponses would be enough)
Thanks
Recommended approach to choose between different response menus?
-
- Posts: 31
- Joined: Fri Apr 10, 2020 2:30 am
Re: Recommended approach to choose between different response menus?
Hi,
Use the SetMenuPanel() sequencer command in the preceding dialogue entry node. Here's an example scene:
DS_SetMenuPanelExample_2023-11-24.unitypackage
In the example scene, the dialogue UI has two menu panels (0 and 1). The node before the alternate response menu uses this sequence:
The node after the response menu sets it back to the default menu panel with:
Use the SetMenuPanel() sequencer command in the preceding dialogue entry node. Here's an example scene:
DS_SetMenuPanelExample_2023-11-24.unitypackage
In the example scene, the dialogue UI has two menu panels (0 and 1). The node before the alternate response menu uses this sequence:
Code: Select all
SetMenuPanel(Player, 1)
Code: Select all
SetMenuPanel(Player, 0)
-
- Posts: 31
- Joined: Fri Apr 10, 2020 2:30 am
Re: Recommended approach to choose between different response menus?
Yes that works thanks!