Use a trigger area to set a variable?

Basically, I want my text box to appear and show dialogue when the player passes a trigger volume. Currently I’m trying to start off by having the trigger box set the HUD’s “dilogue” variable to true, but I just can’t seem to get anything to work.
Here is my level blueprint so far:

The get hud dialogue function:

I don’t get any error messages after testing the game or compiling, but entering the trigger box doesn’t set dialogue to true.

There is no reason for you to call Get HUD Dialogue, it isn’t performing any task.

As long as your Hud variable is set and not null. It should be working.

Press F9 while selecting a node to toggle debug on that node, and see where the execution goes when you enter the trigger.

do it like this

instead of first person character, use whatever blueprint youre using for your character. Instead of FirstPersonHUD, use whatever your default HUD class is (you can go to Edit > Project Settings > MapsAndModes to find out!). checking if its valid is unnecessary, and you definitely dont need to check it twice. If youre constantly changing hud classes in your game, then i suggest you use widget blueprints itll be a lot easier.

Interesting… I’m not really sure what’s going on here. I renamed my hud asset to hud_game so it’s easier to understand which is the class and which is the
asset.

I checked hud_game’s references, and it seems it related in some way to the HUD class.

idk how much work youve put into it already, but maybe try making a new hud class and copying the bluedprints over? im not sure why it would generate that error