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.
asked Aug 06 '17 at 05:23 AM in Blueprint Scripting
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.
answered Aug 06 '17 at 06:03 AM
There is no reason for you to call
As long as your
answered Aug 06 '17 at 06:00 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here