This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
apply_status_effect [2024/02/04 16:18] – justin | apply_status_effect [2024/02/04 16:44] (current) – justin | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Apply Status Effect====== | ======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. | 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. | ||
Line 9: | Line 11: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |status_id| | |Yes| | + | |status_id| |[[String]]|Yes| |
- | |character| | |Yes| | + | |character| |[[Entity]]|Yes| |
- | |duration| | |No| | + | |duration| |[[Number]]|No| |
====Example: | ====Example: |