Removing one-animation special effect instantly?

Handless

New Member
Reaction score
2
Hello,

One of my triggers creates a special effect using an aura model. Problem is that it's supposed to be removed one second later with DestroyEffect, but it still stays for several seconds. I think this happens because the aura has no death animation, so it is forced to complete it's only animation before it can disappear.

What can I do to make it disappear instantly?
 

Necrach

You can change this now in User CP.
Reaction score
62
You could move the effect far out from the map, where no player can have the camera! :)
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
Maybe you can try putting a dummy unit and giving it the effect, and then move the unit away.
 

Handless

New Member
Reaction score
2
Well, now this gets complicated..

I'm using GetLocalPlayer so the effect is visible only to one player. Creating an entire unit for only one player (or hiding it from others) would cause desyncs. Only other way I know of making unit invisible to all with effects still showing is not having a model, but a modelless unit doesn't have attachment points either, so I don't know if I can attach a special effect to that..
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
but a modelless unit doesn't have attachment points either, so I don't know if I can attach a special effect to that..
That's what the commonly-used dummy.mdx is for. :thup: Search for it, use it on your dummies, attach special effects to them, and be happy. :D
 

Bogrim

y hello thar
Reaction score
154
I think it's possible to alter a unit's transparency setting for local players to duplicate the effect of a special effect only visible to one player.
 

Handless

New Member
Reaction score
2
Does anyone know where to get that dummy.mdx?

I tried searching here, hive and wc3campaigns but didn't find a file or a link to it..


Edit: Oh nevermind, I tried once more and found it.

Thanks to all who helped.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top