worldfade

From Arx Libertatis Wiki
Jump to navigation Jump to search

The worldfade script command is used to fade to/from black or another color. This is a global effect and does not depend on the used camera. The requested color covers the world and HUD but cineatic borders set using cinemascope will not fade and remain black.

Usage

worldfade out <duration*> <r*> <g*> <b*>
worldfade in <duration*>

Context: Ignored

Parameters:

ParameterTypeDescription
duration number or variable Fade duration in milliseconds
r number or variable [0,1] Red component of the color to fade out to
g number or variable [0,1] Green component of the color to fade out to
b number or variable [0,1] Blue component of the color to fade out to