Screen fades

Avatar
GameBurger
93 Posts
Posted Aug 05, 2014
Is there any way to make env_fade instantly fade in, but take 2 seconds to fade out?
Advertisement
Registered users don't see ads! Register now!
Avatar
Skotty
671 Posts
Posted Aug 05, 2014
Replied 11 minutes later
Use the flag "Invert" or something like that.
Avatar
josepezdj
2,386 Posts
Posted Aug 05, 2014
Replied 31 minutes later

Skotty wrote:
Use the flag "Invert" or something like that.

GameBurger wrote:
Is there any way to make env_fade instantly fade in, but take 2 seconds to fade out?

Use the output "AddOutput" to change the value of the key "Duration" right after you fired the "FadeIn" output. Set a very low initial value for the "Duration" of the env_fade like 0.1, then use the output like so (via for example a logic_relay):

OnTrigger > [env_fade_name_here] > AddOutput > duration 2

Then you use the "FadeOut" output, but this time it'll take 2 seconds instead of 0.1.

I hope that helped.

Advertisement
Registered users don't see ads! Register now!
Avatar
GameBurger
93 Posts
Posted Aug 06, 2014
Replied 14 hours later
Oh, alright, thanks!