-
Notifications
You must be signed in to change notification settings - Fork 0
Health System
spacemex edited this page Jan 3, 2024
·
1 revision
The Health System manages the actor's health, allowing for damage application and automatic health regeneration.
-
Health: Current health points of the actor. -
MaxHealth: Upper limit on health points. -
RegenHealth: Toggles health regeneration. -
HealthRegenSpeed: Rate of health regeneration. -
RegenAfterDamagedDelay: Cooldown before regeneration starts post-damage.
SetHealth(float NewHealth)SetMaxHealth(float NewMaxHealth)SetRegenHealth(bool NewRegenHealth)SetHealthRegen(float NewRegenSpeed)