• 🏆 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] Fade filter with a variable duration

Status
Not open for further replies.
Level 24
Joined
Jun 26, 2020
Messages
1,852
I wanna make a fade filter that enter and then exit (I don't know if this is how is writen in English) but that last what I wanna, basically I wanna that end only if a condition is true, I tried to use a fade filter that enter and in the end other that exit, but this last only repeats itself, I tried using a wait and use "hide filter" and that worked but I don't think if this is a good solution because I think it can't difference the filters or what should I do?
 
Level 19
Joined
Feb 27, 2019
Messages
590
  • Cinematic - Fade out over 2.00 seconds using texture White Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
  • Wait until (((Triggering unit) is A structure) Equal to True), checking every 1.00 seconds
  • Cinematic - Fade in over 2.00 seconds using texture White Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
or

  • Untitled Trigger 001 Copy
    • Events
    • Conditions
    • Actions
      • Cinematic - Fade out over 2.00 seconds using texture White Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
      • Trigger - Turn on Untitled Trigger 001 <gen>
  • Untitled Trigger 001
    • Events
      • Unit - No unit Dies
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) is A structure) Equal to True
        • Then - Actions
          • Trigger - Turn off (This trigger)
          • Cinematic - Fade in over 2.00 seconds using texture White Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
        • Else - Actions
 
Level 24
Joined
Jun 26, 2020
Messages
1,852
  • Cinematic - Fade out over 2.00 seconds using texture White Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
  • Wait until (((Triggering unit) is A structure) Equal to True), checking every 1.00 seconds
  • Cinematic - Fade in over 2.00 seconds using texture White Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
or

  • Untitled Trigger 001 Copy
    • Events
    • Conditions
    • Actions
      • Cinematic - Fade out over 2.00 seconds using texture White Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
      • Trigger - Turn on Untitled Trigger 001 <gen>
  • Untitled Trigger 001
    • Events
      • Unit - No unit Dies
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) is A structure) Equal to True
        • Then - Actions
          • Trigger - Turn off (This trigger)
          • Cinematic - Fade in over 2.00 seconds using texture White Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
        • Else - Actions
I tried to use a fade filter that enter and in the end other that exit, but this last only repeats itself
 
Level 19
Joined
Feb 27, 2019
Messages
590
I dont quite understand your problem. What do you mean by "repeats itself"? The fade in shouldnt repeat itself. Post your triggers?
 
Status
Not open for further replies.
Top