Increasing Progress Bar With Event Tick?
I'm creating a game that has fights that will start once you shoot someone, touch someone, or get touched by them.
I figured to do that, I would create a trigger blueprint for it. Once those things overlap, it should turn on a boolean variable called Fight Started.
In the blueprint, once the Fight Started variable is turned on, I want it to start increasing the enemy and player's first stamina bar. Let's say 2 percent every tick.
This is the image of the event tick I made before deciding one should fill before the other. It seemed to fire off but I couldn't actually see the increase on the progress bar. Not sure if I didn't properly set the percent function or what exactly.
So I am hoping someone could help me set this up the way I am attempting to do.
My goal is for the player and enemy to both start increasing their first stamina bar. I want it where you can switch between which bar is in creasing as well, And only one can increase at once.
So lets say I got the top bar to 100, then it should start filling the second. But let's say the first bar gets to 50 percent and you want to switch it to where the other stamina bar is increasing instead with a button input. Could someone walk me through the proper way to do this? Can provide more info and will even find a more direct way to chat about it if needed,
EDIT: Added a print string and it shows it stays at zero.
Follow this question
Once you sign in you will be able to subscribe for any updates here