BlzSetSpecialEffectHeight
- Parameters
whichEffect effectheight real- comment
Sets the effect's absolute Z position (height). This native appears to be mostly identical to
BlzSetSpecialEffectZ.- bug
Crashes the game if used on an attached effect (tested 1.36.2 SD):
bloodmage = CreateUnit(Player(0), FourCC("Hblm"), 0,0, 0) birdEffect = AddSpellEffectTargetById(FourCC("hsor"), EFFECT_TYPE_MISSILE, bloodmage, "head") BlzSetSpecialEffectScale(birdEffect, 3) BlzSetSpecialEffectZ(birdEffect, 128) -- no effect BlzSetSpecialEffectHeight(birdEffect, 128) -- crash- patch
1.29.2.9231
- Source
- common.j (raise an issue to discuss on Github or submit a PR)
- return type
nothing- Source code
native BlzSetSpecialEffectHeight takes effect whichEffect, real height returns nothing