Problems with SetMenuPanel sequence

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
pixelemm
Posts: 13
Joined: Fri Jul 19, 2024 2:48 am

Problems with SetMenuPanel sequence

Post by pixelemm »

Hi Tony!

I've recently ran into a pretty frustrating problem which I'm hoping you may have an idea of what's going on.

I've set up the StandardDialogueUI to have 2 different menu panels.
Screenshot 2025-07-16 162423.png
Screenshot 2025-07-16 162423.png (634.12 KiB) Viewed 171 times
In the Dialogue Entry Sequence field I've tried calling the SetMenuPanel command however it doesn't seem to be working. I've made sure that the actor names are correct.
Screenshot 2025-07-16 162328.png
Screenshot 2025-07-16 162328.png (443 KiB) Viewed 171 times
Screenshot 2025-07-16 162356.png
Screenshot 2025-07-16 162356.png (384.79 KiB) Viewed 171 times
Screenshot 2025-07-16 162608.png
Screenshot 2025-07-16 162608.png (56.83 KiB) Viewed 171 times
Yet in a later part of the conversation, for some reason it works.
Screenshot 2025-07-16 163705.png
Screenshot 2025-07-16 163705.png (58.58 KiB) Viewed 171 times
Screenshot 2025-07-16 164401.png
Screenshot 2025-07-16 164401.png (693.05 KiB) Viewed 171 times
User avatar
Tony Li
Posts: 23446
Joined: Thu Jul 18, 2013 1:27 pm

Re: Problems with SetMenuPanel sequence

Post by Tony Li »

Hi,

I'll need to get some more information.

Is Kosuzu a player or NPC actor? (Is its "Is Player" checkbox ticked?)

Are the NPCs and/or player represented by GameObjects? If so, do those GameObjects have Dialogue Actor components? If they do, what are the values in their Dialogue UI Settings sections?

Are there any errors or warnings in the Console window?
pixelemm
Posts: 13
Joined: Fri Jul 19, 2024 2:48 am

Re: Problems with SetMenuPanel sequence

Post by pixelemm »

Thanks so much for your reply!

I was fiddling with my conversation and got it to work. I just removed a custom lua method that was called early on in the conversation. It was a method that started an async load level. No idea why it caused the SetMenuPanel to stop working.

But just for completeness sake here are the answers to your questions:
- Kosozu and Captain Basildor are NPCs
- All actors are represented by GameObjects and have Dialogue Actor Components added.
- The values in their Dialogue UI Settings sections are set to defualt
- There were no errors or warnings in the Console window
User avatar
Tony Li
Posts: 23446
Joined: Thu Jul 18, 2013 1:27 pm

Re: Problems with SetMenuPanel sequence

Post by Tony Li »

Thanks for the info. I have no idea either why the async load level caused SetMenuPanel to stop working. Since your NPCs have Dialogue Actor components, you should have seen that the Dialogue UI Settings > Menu Panel Number changed when the SetMenuPanel() sequencer commands ran. Anyway, I'm glad you got it to work.
Post Reply