EnableEffect

Creates an effect on an entity which remains until disabled. The enabled effect is attached to the entity. Therefore, it is moved or becomes hidden if the entity moves or becomes hidden.

Arguments
Argument Entity Name
Type Entity
Default REQUIRED
Description Name of the entity as the effect target
Argument Effect Name
Type Effect
Default Diamond
Description Name of the effect to enable

Examples

EnableEffect(Tom)

EnableEffect(Tom, Diamond)


See Also