How to get rid of Alert Panel

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
max_reformed
Posts: 3
Joined: Sun May 24, 2020 8:54 pm

How to get rid of Alert Panel

Post by max_reformed »

Even after disabling the Alert Panel, it still won't go away. I'm a noob so any help would be appreciated.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to get rid of Alert Panel

Post by Tony Li »

Hi,

The Alert Panel is controlled by the dialogue UI.

The dialogue UI should automatically keep it inactive unless it's been requested to show an alert.

Are you doing anything that would request it to show an alert, perhaps a blank alert string or a string that only has whitespace?

Have you perhaps ticked the dialogue UI's Alert UI Elements > Wait For Hide Animation checkbox? If so, and if it's tied to an animation that's configured wrong, it could end up waiting forever.

Are you using the DemoMenu script that's used in the demo scenes? If so, it has a text field. If that text field has text (as it does in the demo scene), it will show it as an alert.
max_reformed
Posts: 3
Joined: Sun May 24, 2020 8:54 pm

Re: How to get rid of Alert Panel

Post by max_reformed »

Actually I'm not sure if its an alert, but it's whatever message the proximity select activates. I'm using the JRPG Dialogue GUI skin if that makes any difference. Other than the proximity selector, I'm not sure what would cause it to appear.

Additionally, a white hexagon appears in the middle of the screen that I'm not sure why it is there.

https://imgur.com/mcFxr9i

I unticked the Wait For Hide Animation checkbox, but it didn't help either.

Thank you for the quick response by the way.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to get rid of Alert Panel

Post by Tony Li »

Hi,

That's the selector UI used by the Proximity Selector. Add a 'Selector Use Standard UI Elements' component to the same GameObject as the Proximity Selector. That should get rid of it.

When the Proximity Selector detects a Usable, it will show these UI elements again but with the correct details for the Usable. Later, you can customize its appearance by locating the prefab, which is assigned to the Dialogue Manager's Instantiate Prefabs component. Copy the prefab, customize the copy, and assign the copy to the Instantiate Prefabs component in place of the original.
max_reformed
Posts: 3
Joined: Sun May 24, 2020 8:54 pm

Re: How to get rid of Alert Panel

Post by max_reformed »

Thank you so much! This solved my issue.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to get rid of Alert Panel

Post by Tony Li »

Glad to help! :-)
Post Reply