- Joined
- Jun 8, 2010
- Messages
- 283
Hey guys, Ive never really had a problem with this before but for some reason the Destroy Special Effects trigger has some kind of delay. I understand that this trigger wont initiate until the birth animation, stand and finally death animation are completely played, they the trigger will destroy it. The special effects model only has 1 animation which is Stand, so I dont understand what my problem is here. I also know that the Destroy Special Effects trigger does not leak and its the only GUI trigger without having to use custom scripts.
The Create Special Effects trigger works instantly upon the spell click and the special effect is created above my hero unit, however, the Destroy Special Effects will destroy the special effects approx 5 seconds later.
Heres the trigger:
The Create Special Effects trigger works instantly upon the spell click and the special effect is created above my hero unit, however, the Destroy Special Effects will destroy the special effects approx 5 seconds later.
Heres the trigger:
-
flashlight red
-
Events
-
Unit - A unit owned by Player 1 (Red) Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Flashlight
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
flashlight[1] Equal to True
-
-
Then - Actions
-
Special Effect - Create a special effect attached to the overhead of (Casting unit) using war3mapImported\Light_OFfWHite_10.MDX
-
Set flashlight_fx[1] = (Last created special effect)
-
Set flashlight[1] = False
-
-
Else - Actions
-
Special Effect - Destroy flashlight_fx[1]
-
Set flashlight[1] = True
-
-
-
-