- Joined
- Oct 10, 2009
- Messages
- 439
Hey all!
Special effects aren't appearing anymore for a project I've been slowly working on.
Here's an example of code that no longer functions:
Here's what they look like now:
Before 1.3b:
https://webm.red/xhQl.webm
After 1.3b (I got this videos name wrong, forgive me rip):
https://webm.red/R2RR.webm
Someone please help me. A lot of my abilities in the game are now broken =*((
Special effects aren't appearing anymore for a project I've been slowly working on.
Here's an example of code that no longer functions:
Code:
private constant string SFX_ORA_STRIKE = "war3mapImported\\IceNova.mdl"
...
local real casterX = GetUnitX(this.caster)
local real casterY = GetUnitY(this.caster)
local real sfxX = casterX + punchSfxOffset * Cos(this.targetAngle + this.punchSfxOffsetAngle)
local real sfxY = casterY + punchSfxOffset * Sin(this.targetAngle + this.punchSfxOffsetAngle)
set sfx = AddSpecialEffect(SFX_ORA_STRIKE, sfxX, sfxY)
call BlzSetSpecialEffectAlpha(sfx, 50)
call BlzSetSpecialEffectScale(sfx, 0.4)
call BlzSetSpecialEffectHeight(sfx, this.punchSfxHeight)
call DestroyEffect(sfx)
Here's what they look like now:
Before 1.3b:
https://webm.red/xhQl.webm
After 1.3b (I got this videos name wrong, forgive me rip):
https://webm.red/R2RR.webm
Someone please help me. A lot of my abilities in the game are now broken =*((