• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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