Page 1 of 1

Dialog System trigger alert

Posted: Wed May 11, 2022 4:40 pm
by vectorfrog
Hello,

I'm working on trying to get a trigger to show a dialog system alert, but I can't seem to get it to work. I have a game object that consists of a box collider set to be a trigger and the dialog system trigger component with the Trigger set to On Trigger Enter. The Action is set to Show Alert.

I have the accepted tags set to Player but it doesn't appear to be working. I'm not getting an alert from Dialog System.

I'm sure I missed something. Thanks for the help!

Re: Dialog System trigger alert

Posted: Wed May 11, 2022 4:54 pm
by Tony Li
Hi,

Make sure your player is tagged 'Player', has a collider, and is on a layer that will register collisions with the trigger collider's GameObject.

If that checks out but you still don't see an alert, check for warnings or error messages in the Console window.

Re: Dialog System trigger alert

Posted: Wed May 11, 2022 5:10 pm
by vectorfrog
Yes, that all checks out, and there is no errors in the console. If I add a useable component, then the selector shows, but that is not what I need.

Re: Dialog System trigger alert

Posted: Wed May 11, 2022 5:14 pm
by vectorfrog
Geez, right after I posted that I found the problem. I always forget to check the actual collider on my player game object. I have it set to something besides Player. Once I add that tag to the DS trigger, it works as intended. Thank you!

Re: Dialog System trigger alert

Posted: Wed May 11, 2022 5:16 pm
by Tony Li
Thanks for the update. I'm glad it's working now. :-)