Hi, I’m fairly new to Unreal Engine and am still learning how to use the blueprints.I’ve run into an issue in setting up a recharge delay, I’m not sure how to get it working so that whenever your player receives damage there will be a delay before recharging. Here’s what I have so far.
Can you post a bigger screenshot of your logic to imgur
Im a bit tied for time right now but the set timer by function name does just that. It runs (or loops if loop is checked) a function after a certain amount of delay time. Its doing nothing because the function (Say delayShield ) isnt typed in.
Second you could just use a delay node.
I would do something like on event damage set bIsDamaged = true or if health > 0.5 set bRecharge = true
Then on event tick on a branch with one of the conditions above whaever your recharging set it to itself + a little bit (if its a max value of 1 add 0.001 every frame for example and so on and so forth and just edit the amount to add until you get the recharge time youd like.
Hope this helps
Don’t forget to accept an answer that best clears your question up or answers it so when the community finds your question in the future via search/google they know exactly what you did to fix it/get it going.
've added some changes, such as a boolean, but I still can’t get it to work. When I test the game it shows a flow through the event tick to recharge, but the Event any Damage isn’t triggering anything yet somehow is dealing damage to the shield.