Skip to content

Health System

spacemex edited this page Jan 3, 2024 · 1 revision

Health System

The Health System manages the actor's health, allowing for damage application and automatic health regeneration.

Properties

  • 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.

Functions

  • SetHealth(float NewHealth)
  • SetMaxHealth(float NewMaxHealth)
  • SetRegenHealth(bool NewRegenHealth)
  • SetHealthRegen(float NewRegenSpeed)
Clone this wiki locally