• 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 Filters

Status
Not open for further replies.
Level 26
Joined
Aug 18, 2009
Messages
4,099
Yes, there are these action functions for cinematic filters:

JASS:
native DisplayCineFilter takes boolean flag returns nothing
native SetCineFilterBlendMode takes blendmode whichMode returns nothing
native SetCineFilterDuration takes real duration returns nothing
native SetCineFilterEndColor takes integer red, integer green, integer blue, integer alpha returns nothing
native SetCineFilterEndUV takes real minu, real minv, real maxu, real maxv returns nothing
native SetCineFilterStartColor takes integer red, integer green, integer blue, integer alpha returns nothing
native SetCineFilterStartUV takes real minu, real minv, real maxu, real maxv returns nothing
native SetCineFilterTexMapFlags takes texmapflags whichFlags returns nothing
native SetCineFilterTexture takes string filename returns nothing

Each one of them can be put into a localblock.

JASS:
if (GetLocalPlayer() == <your player>) then
    call DisplayCineFilter(true)
endif
 
Status
Not open for further replies.
Top