Jass documentation Database

JASS Documentation Database REFORGED

Results for the query "CinematicFadeCommonBJ" as a "function"

The search keyword must be a single word (no spaces).

Function CinematicFadeCommonBJ

Line: 6971
Location: blizzard.j
Constant? no
Type: function
Arguments: real red, real green, real blue, real duration, string tex, real startTrans, real endTrans
Returns: nothing


Extra spaces may have been removed from the original file to show the function in a comfortable way.
  1. function CinematicFadeCommonBJ takes real red, real green, real blue, real duration, string tex, real startTrans, real endTrans returns nothing
  2.     if (duration == 0) then
  3.         // If the fade is instant, use the same starting and ending values,
  4.         // so that we effectively do a set rather than a fade.
  5.         set startTrans = endTrans
  6.     endif
  7.     call EnableUserUI(false)
  8.     call SetCineFilterTexture(tex)
  9.     call SetCineFilterStartUV(0, 0, 1, 1)
  10.     call SetCineFilterEndUV(0, 0, 1, 1)
  11.     call SetCineFilterStartColor(PercentTo255(red), PercentTo255(green), PercentTo255(blue), PercentTo255(100.0-startTrans))
  12.     call SetCineFilterEndColor(PercentTo255(red), PercentTo255(green), PercentTo255(blue), PercentTo255(100.0-endTrans))
  13.     call SetCineFilterDuration(duration)
  14.     call DisplayCineFilter(true)
  15. endfunction
"You have ten seconds to comply!" Hmmm... there's no info about this keyword... be the first one in contribute with the keyword CinematicFadeCommonBJ. You must be logged into the site in order to give us a hand in keeping updated the information. If you don't have an account, you can create one here.
Page loaded in 0.1 seconds.
Vivir aprendiendo.co - A place for learning stuff, in Spanish   Chaos Realm - The world of Game modders and wc3 addicts   Diplo, a gaming community   Power of Corruption, an altered melee featuring Naga and Demon. Play it now!!!   WC3JASS.com - The JASS Vault + vJASS and Zinc   Jetcraft - A Starcraft II mod   WormTastic Clan (wTc)   Warcraft RESOURCES Reforged: Modelos, mapas, proyectos y mas...