• 🏆 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!

Fade Filter

Status
Not open for further replies.
  • Trigger
    • Events
    • Conditions
    • Actions
      • Set R_TransparencyDesyncDe[1] = 0.00
      • Set R_TransparencyDesyncDe[2] = 0.00
      • Set R_TransparencyDesyncDe[3] = 0.00
      • Custom script: if GetLocalPlayer() == GetOwningPlayer(GetTriggerUnit()) then
      • Set R_TransparencyDesyncDe[1] = 70.00
      • Set R_TransparencyDesyncDe[2] = 50.00
      • Set R_TransparencyDesyncDe[3] = 100.00
      • Custom script: endif
      • Cinematic - Apply a filter over 0.20 seconds using Normal blending on texture White Mask, starting with color (0.00%, R_TransparencyDesyncDe[3]%, R_TransparencyDesyncDe[2]%) and R_TransparencyDesyncDe[1]% transparency and ending with color (0.00%, R_TransparencyDesyncDe[3]%, R_TransparencyDesyncDe[2]%) and R_TransparencyDesyncDe[1]% transparency
This is the trigger from a hero of mine. I have placed the values needed for the Cinematic Filter in variables, because it will desync for players. So, you actually 'localize' the real variables for the players, rather than the filter itself, which will desync, if not used correctly.

Here is a tutorial by PurgeandFire111: http://www.thehelper.net/forums/showthread.php?t=89207
 
Status
Not open for further replies.
Top