• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[General] Is AddSpecialEffect broken?

Status
Not open for further replies.
Level 11
Joined
Mar 6, 2008
Messages
898
Hi,

I am trying to use goo'old
JASS:
AddSpecialEffect(string modeName, real x, real y)
native and cannot seem to get a special effect shown up for it if the special effect has no animations.

This this has never made any problems to me in the past I suggest this might be related to a bug since recent versions of WarCraft III?

JASS:
AddSpecialEffectTarget
works like a charm. But unfortunately I need AddSpecialEffect to work.

Note that it seems to me that special effect having animations do NOT suffer from this problem.

For example:

JASS:
AddSpecialEffect(
    "Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTo.mdl",
    GetUnitY(builder),
    GetUnitX(builder)
)

works fine, while

JASS:
AddSpecialEffect(
    "Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl",
    GetUnitY(builder),
    GetUnitX(builder)
)

does not.
And the only difference (as far as I can see) is that MassTeleportTo.mdl has animations and BlinkCaster.mdl does not.
 
Last edited:
Level 11
Joined
Mar 6, 2008
Messages
898
I just looked that up.
Decay time for effects was modified from 5.0 seconds to 2.0 seconds.
It never was critical and always worked, until recently - couldn't even remember that I once changed it.
Setting it back from 2.0 to 5.0 seconds fixed the issue ...

Thanks!
 
Level 17
Joined
Oct 10, 2011
Messages
462
I have the same problem. In my map it was working and now since 2 days it does not display anything even if I preload the effects.
Same as you the native "AddSpecialEffectTarget" is still working.

My map is heavy but I've never seen that problem.

My decay time of effect is set to 5 seconds.

Does anyone has a solution? I have a the latest version of warcraft 3 classic.
 
Last edited:
Level 18
Joined
Jan 1, 2018
Messages
728
I have the same problem. In my map it was working and now since 2 days it does not display anything even if I preload the effects.
Same as you the native "AddSpecialEffectTarget" is still working.

My map is heavy but I've never seen that problem.

My decay time of effect is set to 5 seconds.

Does anyone has a solution? I have a the latest version of warcraft 3 classic.
 
Status
Not open for further replies.
Top