AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   FadeToBlack (https://forums.alliedmods.net/showthread.php?t=105299)

Alucard^ 10-03-2009 06:42

FadeToBlack
 
Hi...

Emm, i am using the .inc of Connor:

http://forums.alliedmods.net/showthread.php?t=87623

The UTIL_FadeToBlack.

The problem is, how can i remove the fade? Yes, i have to make a task for example... and then? i tried with a lot of things, for example a negative number but nothing.

ConnorMcLeod 10-03-2009 06:46

Re: FadeToBlack
 
To remove, just send : UTIL_ScreenFade(id) with no more params.

Arkshine 10-03-2009 06:48

Re: FadeToBlack
 
It uses FFADE_STAYOUT = ignores the duration, stays faded out until new ScreenFade message received

Alucard^ 10-03-2009 06:58

Re: FadeToBlack
 
@ Connor

Thx!

@ Arkshine

Yea, i am watching that right now. Thx too.

ConnorMcLeod 10-03-2009 07:00

Re: FadeToBlack
 
Arkshine is right, remove the FFADE_STAYOUT flag and set the duration you want.

UTIL_ScreenFade(id, _, FloatFadeTime, FloatDurationTime, 255, FFADE_OUT)

Alucard^ 10-03-2009 07:24

Re: FadeToBlack
 
No, becouse i don't want to use the fade for an specific time... i want to remove the fade in an specific "event" so the:

Quote:

UTIL_ScreenFade(id) with no more params.
method, work perfect for me.


All times are GMT -4. The time now is 22:43.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.