Creates a transient effect on an entity which disappears after a few seconds. Created effect is not attached to the entity. In other words, the effect remains at the spot it was created for its duration even if the entity moves or becomes hidden. Effects include:
Argument | Entity Name |
---|---|
Type | String |
Default | REQUIRED |
Description | Name of the entity as the effect target |
Argument | Effect Name |
Type | Effect |
Default | Diamond |
Description | Name of the effect to create |
Argument | Duration |
Type | float |
Default | 2 seconds |
Description | The duration of the effect |
CreateEffect(Tom)
CreateEffect(Tom, Diamond)
CreateEffect(Tom, 4)
CreateEffect(Tom, Diamond, 4)