Fadeing in and out nice and slowly

warpo

New Member
Reaction score
5
I'd like to use the effect in my current map that Blizzard used at the begining of the Undead campaign when Arthas slowly faded into the cinemat scene. And I'm not looking for the quick dissapearing like shadowmeld. I know how to get that green glow that was around him but they got the character to kind of slowly fade in, kind of like they did with Tichondrius when he was talking to Mannoroth in the Orc campaign of ROC. Any clues?
 

seph ir oth

Mod'n Dat News Jon
Reaction score
262
Wild guess: Etheral? Make a dummy unit and cast etheral on whoever is disappearin, makes em fade a bit.
 
K

Kerberos

Guest
I think this will work:

Code:
Trigger 1
     Events
          Whatever the event is that turns on the fading, preferably unit-related (With more information about what causes the fading, I could be more specific)
     Conditions
     Actions
          Add (Triggering unit) to FadingUnitGroup*
          Turn on Trigger 2
          Wait 2.00 seconds
          Turn off Trigger 2
          Remove (Triggering unit) fading FadingUnitGroup

Code:
Trigger 2
     Events
          Every 0.02 seconds
     Conditions
     Actions
          Pick every unit in FadingUnitGroup* and do (Actions)
               Loop - Actions
               Animation - "Change Unit Vertex Coloring" - set transparency equal to (Transparency of (Picked unit) - 1)

JASS might be better for Trigger 2, since it's supposed to run faster and this happens every fiftieth of a second, but I'm not well versed enough to do that yet.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top