Class: EntityHealthChangedAfterEvent
event entity damageBeta
Contains information related to an entity when its health changes. Warning: don't change the health of an entity in this event, or it will cause an infinite loop!
Properties
entity
readonlyentity:Entity
Beta
Remarks
Entity whose health changed.
newValue
readonlynewValue:number
Beta
Remarks
New health value of the entity.
oldValue
readonlyoldValue:number
Beta
Remarks
Old health value of the entity.
