CreateEffect(<-effectName <-pos <-scale)
Creates an effect. The effect will be placed at the supplied 3D vector position. The scale vector will be applied to the effect to scale it.
The name of the effect can be:
CreateEffect("materialize" V3(10 5 20) V3(1 1 1))
CreateEffect("explosion2" GetUnitPosition(self) V3(1 1 1))
Note: radial2 should be played slightly higher on the Y axis than unit position for it to display correctly. Also it's .y vector for size does not impact it's vertical size unlike with the other effects. V3(1 0.5 1) will create an oval, V3(1 1 1) will create a circle.
⇐ Index