Skip to content

YaDamage

Beta
Damage Information structure in "DamageableComponent.DamagedEvent"

Properties

boolean IsFromTeamBeta
Returns true if the damage comes from a team.
YaEntity EnemyBeta
Returns the one who causes the damage/heal.
number AmountBeta
Returns the amount of damage/heal. Negative amount means a heal.