Apply Status Effect


(WIP)

Applies a status effect to the specified character for a duration of time. If a duration of zero is specified, the status effect will remain on the character until removed.

Signature:

apply_status_effect(status_id, character, duration)
ArgumentDescriptionTypeRequired
status_id StringYes
character EntityYes
duration NumberNo

Example:

apply_status_effect("STATUS_0001", player, 10);

Results:

Use the Apply Status Effect function to…


Editor Node: