Combatable

Combatable

STD Library
Component
Combine:
Aimable

An entity that can fight (e.g. launch attacks, be attacked, or get eliminated)

Event

Name Description
On Eliminated Triggered after the current entity is killed.
On Take Damage Fires after the current entity is attacked.
On Pre Take Damage Triggered before the current entity takes damage.
On Pre Deal Damage Triggered before the current entity deals damage
On Deal Damage Triggered after the current entity deals damage
On Eliminate Triggered after the current entity kills another entity.

API

Name Description
Deal Damage Deals damage to the player, if no source of damage is selected, the target takes damage from the system
Pursuit Target AI entity chases the designated target
Attack Target AI entity attacks the specified target
Eliminate Kill combatable entities