EntHealthSystem

Health System
Health system, dies when below 0 health

ID: EntHealthSystem
Required By: Health System Damage Modifier, Health System Health Bar
Base Type: Entity Component

Values

NameTypeDescription
HealthNumber Variablehp
Take DamageBool VariableIf false the entity will not take damage. - Defaults to True
Flash On HitBool Variable
Heal Only To Start HealthBool Variable'Heal' will only heal to Start Health - Defaults to True
Start HealthNumber VariableHealth that Playmode started with - hp

Methods

NameDescription
Reset Health
Do Damage(Number amount)
Heal Health(Number amount)

Properties

NameTypeDescription
Health PercentageNumberPercentage of health to Start health

Events

NameDescription
On Damaged(Damage Info damage)