Scripting/Client/Functions/FadeCamera

fadeIn is an integer: 1 (default) fades the screen in, 0 fades out. The colour is used only when all three of r, g, b are given.

Syntax

FadeCamera(speedSeconds [, fadeIn [, r, g, b]])

Arguments

Example

function onScriptLoad()
{
	FadeCamera( 0 );
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Screen, world and camera

Categories: Client functions | Screen, world and camera