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!
Replace Player(0) with your player and CinematicFadeBJ with your fading.
I hope you know some JASS because I dont feel like explaining everything now =/
JASS:
function YourFunction takes nothing returns nothing
if GetLocalPlayer() == Player(0) then
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUTIN, 2, "ReplaceableTextures\\CameraMasks\\White_mask.blp", 0, 0, 0, 0 )
endif
endfunction
Put this into your Custom Script Section (in the trigger editor click on the small map icon next to your map name)
JASS:
function FadeForPlayer takes player p returns nothing
if GetLocalPlayer() == p then
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUTIN, 2, "ReplaceableTextures\\CameraMasks\\White_mask.blp", 0, 0, 0, 0 )
endif
endfunction
and now to call the function do it like this:
Sample
Events
Map initialization
Conditions
Actions
Set TempPlayer = Player 1 (Red)
Custom script: call FadeForPlayer(udg_TempPlayer)
But don't forget to change your Fade filter.
Just create one in GUI and do Convert to JASS then copy and paste your fade filter.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.