User Tools

Site Tools


apply_status_effect

This is an old revision of the document!


Apply Status Effect


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 Yes
character Yes
duration No

Example:

apply_status_effect("STATUS_0001", player, 10);

Results:

Use the Apply Status Effect function to…


Editor Node:

apply_status_effect.1707092313.txt.gz · Last modified: 2024/02/04 16:18 by justin