How can i make create the regeneration tick? so the player’s hp will be increased +x per second? with delta time? but this isnt added in character’s source
Pretty simple, the pseudocode is:
CurrentHP = Min(MaximumHP, CurrentHP + RegenPerSecond * DeltaTime);
You can write that in Blueprints using OnEventTick or in C++ in any tick method.
yeah but there is no delta time in my character class
There is a Actor Tick method you can override on your Character class.
thank you ill check it out