Can you paste other half of the graph?
From you graph everything will show a same time and everything would dissaper after seconds as you destroy the HUD
Draw HUD is called on every draw of hud, so practicly on every tick. You can filter things with flow control nodes, like branch. For example create a bool variable and insted of destroying whole actor, amke branch that stops Draw HUD call and use bool to control if it’s displayed or not.
Hello, I have to write 2 HUD: one is persistent with the score and time of the game, the other is a simple text at the beginning of the game “go!” which then disappears after a few seconds.
the problem is that when I attach the text “go!” , Everything disappears.
I can use only one “Event Receive Draw HUD” connected to a “Sequence” (then 0 = persistent HUD, then 1 = “go” text)
How can I do to make it independent without altering the HUD persistent?
Thank you
(sorry for my english)
i cut because is a little piece and is the same of the module before.
but voilà
Exactly, so how can I do to separate the events?
I’m not a coder, i’m still learning BP
Thanks for the reply
Ok, inspired by a video of Tesla (thanks) triggered on a text I thought it was the perfect solution to my problem. So you have to create a trigger box on the affected area, in my case the starting point of the character (he does not come back then I have no problem), then I created a “BP interface” and then I created a function called “Textgo” (bool ). In my “level BP” I created the trigger sequence of true and false (see HUD3.jpg) with the new “Textgo” by inserting it as “interface messages”. And finally in my “HUD BP” (HUD4.jpg) I connected “Event receive HUD draw” to a “Sequence”: 0 then enter and exit a “Gate” writing text “Gooo !!!”, then 1 back to write the text of the score etc … The “Gate” is opened and closed by a “Branch” which is connected with an event condition “Textgo” (Add event Textgo). My character spawn and immediately touches the trigger and displays the message “Gooo !!!” and at the same time the HUD with the score, with the difference that as soon as I move the word “Gooo !!!” disappears. For my case, that’s okay.