AddSpecialEffectLoc
- Parameters
-
modelName string
where location
- comment
Creates the special effect in the stated location 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
In older patches to create an effect with a Z-position other than zero see https://www.hiveworkshop.com/threads/function-to-create-effect-at-z.165250/#post-1561722. In 1.29.2.9231 and newer use
BlzSetSpecialEffectPosition
orBlzSetSpecialEffectZ
.- note
To create an effect only visible to one player see https://www.hiveworkshop.com/threads/gs.300430/#post-3209073.
- patch
1.00
- Source
- common.j
- return type
effect
- Source code
native AddSpecialEffectLoc takes string modelName, location where returns effect