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

Fade Filters

Status
Not open for further replies.
Level 26
Joined
Aug 18, 2009
Messages
4,097
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