FadeOut (script event)

From modwiki

Jump to: navigation, search

Game class

This event operates on an instance of the game class type {{{gameclass}}}

Description

Fades from the given color over the given time in seconds.

Usage

void fadeOut( vector color, float time )

Parameters

  • [color] - The color to fade from.
  • [time] - The duration of the fade.

Examples

 
sys.fadeOut('0 0 0', 10);

Notes

This script event does not return any values.


Personal tools
Main
id Tech 5