I have a counter that is keeping track of the number of tiles one has run over in game. It updates in the HUD but not for for firing a particle effect. I am trying to set it up in such a way that when the counter reaches 10 a particle effect will fire. But as of now it is not. Can anyone shed some light on my issue? I have a feeling it is a simple fix. If there is any other information that is needed in order to answer this question let me know.
Thank you
Regards
It should fire the particle effect when it reaches 10 and then stay on. The add score function updates the HUD correctly but it does not turn my bool true as it reaches 10.
So we are looking at multiple effects everytime you hit 10?
As I get this working there will be more. Eg. one at 20, at 30 and so on. But for now I am only trying to get the one working. Steam004 which is a component on my character.
Ok, let me check you BP, I THINK I have the issues. But want to check
Ok,
You have a set “Set Score 10” Bool
Other then setting that, where else is that used?
Where does you Bool reset to “0”
My thinking was that when score reaches 10 the bool will be true and then fire the particle in the character BP. (Is Over 10 bool)
Hi
I am putting an answer, Where do you reset that Bool back to 0
Because it only check 10, what happens when it hits 11?
Where do you reset back to “0”
Hi
I am putting an answer, Where do you reset that Bool back to 0
Because it only check 10, what happens when it hits 11?
Where do you reset back to “0”
The bool will be reset at 20, not programmed in yet and then a second bool will fire an another particle effect at 20 > 30 and so on. Is there another blueprint I can post perhaps in order to clarify?
Hello again, it was a really simple fix. I used an eventbeginplay node instead of a node that was activated everytime I wanted to check the score. Something of a sidenote however is that during my debugging I found out that I need to open the blueprint of the character that is spawned in and not the original blueprint for my character in order to see the values being updated in the BP editor.