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

Name

Type

Description

Health

Number Variable

hp

Take Damage

Bool Variable

If false the entity will not take damage. - Defaults to True

Flash On Hit

Bool Variable

Heal Only To Start Health

Bool Variable

'Heal' will only heal to Start Health - Defaults to True

Start Health

Number Variable

Health that Playmode started with - hp

Methods

Name

Description

Reset Health

Do Damage(Number amount)

Heal Health(Number amount)

Properties

Name

Type

Description

Health Percentage

Number

Percentage of health to Start health

Events

Name

Description

On Damaged(Damage Info damage)