AddSpecialEffect

Parameters
modelName string
x real
y real
comment

Creates the special effect in point with coordinates (x;y) using the model file with a path modelName. The altitude (Z) of the newly spawned effect is at the ground level, be it terrain, some pathable destructable or on top of water. In other words, the effect's Z coordinate does not have to be 0.

note

To create an effect with an offset in relation to the ground before 1.30 patch, see http://www.hiveworkshop.com/forums/1561722-post10.html

note

In case of 1.30 patch or higher, use BlzSetSpecialEffectZ native.

note

To create an effect only visible to one player see https://www.hiveworkshop.com/threads/gs.300430/#post-3209073

patch

1.00

return type
effect
Source code
native AddSpecialEffect             takes string modelName, real x, real y returns effect
Source
common.j
wc3modding.com
AddSpecialEffect