Project Context: I have a Trigger that is already set up, and when activated, it shows a notification called TRIGERNOTIFI. I also have a Chat Widget containing several images. These images are initially hidden so that the player doesn’t see them upon entering the game. When the player passes through the Trigger, I want a specific image in the Chat Widget to become visible.
Problem: I’m not sure how to make the image in the Chat Widget visible when the player passes through the Trigger. I’ve tried using custom events, but I’m not sure how to connect them properly.
You can use the Event On Begin Overlap to detect collision between the player and the area, and cast to your widget by using a Cast To node, (or use a variable by referencing your widget on Begin Play) then plug it into the Target pin of the Set Visibility node.
Hello, thank you for your response. I have set up the system so that the widget appears when the Tab key is pressed, as I am simulating a conversation through messages. However, when I pass through the trigger, the message (which is the image inside the widget) does not become visible.
The first image shows the widget that simulates the chat. The second image represents the character that opens the chat whenever the “Tab” key is pressed. The third image is the trigger that activates the message notification. From that moment on, the widget image should be visible. If you need more information, I would be happy to provide it!