Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:1.00

Description

Description:Sets light brightness. Also defines laser brightness (V3.8.1+).

Syntax

Syntax:light setLightBrightness brightness
Parameters:
  • light: Object - Light object (see Light Systems in VBS in the VBS3 Developer Reference).
  • brightness: Number - Brightness level, between 0 (no light) - 1 (brightest).
Return Value:Nothing

Examples

Examples:

Additional Information

See also: setLightAmbient, getLightAmbient, getLightBrightness, setLightColor, getLightColor, laserObjects
Multiplayer:
Problems:

Notes