For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/classes/EntityHealthChangedAfterEventSignal.md.

Class: EntityHealthChangedAfterEventSignal

event entity damage

Beta

Manages callbacks that are connected to when the health of an entity changes.

Methods

subscribe()

subscribe(callback, options?): (arg0) => void

World Mutation Early Execution Beta

Parameters

callback

(arg0) => void

options?

EntityEventOptions

Returns

(arg0) => void

Remarks

Adds a callback that will be called when the health of an entity changes.


unsubscribe()

unsubscribe(callback): void

World Mutation Early Execution Beta

Parameters

callback

(arg0) => void

Returns

void

Remarks

Removes a callback from being called when the health of an entity changes.

同领域相关