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!
Dialog System trigger alert
Re: Dialog System trigger alert
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.
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.
-
- Posts: 86
- Joined: Mon May 02, 2022 12:16 am
Re: Dialog System trigger alert
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.
-
- Posts: 86
- Joined: Mon May 02, 2022 12:16 am
Re: Dialog System trigger alert
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
Thanks for the update. I'm glad it's working now.