CreateEffect

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:

  • blackflame
  • campfire
  • spiralflame
  • wildfire
  • aura
  • death
  • diamond
  • explosion
  • force
  • heart
  • heartbroken
  • magic
  • poof
  • potion
  • resurrection
  • skulls

Arguments
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

Examples

CreateEffect(Tom)

CreateEffect(Tom, Diamond)

CreateEffect(Tom, 4)

CreateEffect(Tom, Diamond, 4)


See Also