setLightBrightness: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - " |game2= arma2 |version2= 1.00 |game3= arma2oa |version3= 1.51" to " |game2= arma2 |version2= 1.00 |game3= arma2oa |version3= 1.50")
Line 8: Line 8:


|game3= arma2oa
|game3= arma2oa
|version3= 1.51
|version3= 1.50


|game4= tkoh
|game4= tkoh

Revision as of 18:33, 20 June 2021

Hover & click on the images for description

Description

Description:
Set brightness of light.
Arma 3
This command is outdated. Use setLightIntensity instead.
Groups:
Lights

Syntax

Syntax:
light setLightBrightness brightness
Parameters:
light: Object
brightness: Number
Return Value:
Nothing

Examples

Example 1:
myLight setLightBrightness 2;

Additional Information

See also:
setLightIntensity setLightAmbient setLightColor lightAttachObject lightDetachObject setLightAttenuation setLightUseFlare setLightFlareSize setLightFlareMaxDistance setLightDayLight

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Posted on Dec 1, 2006 - 16:42
Feersum
Light can be created with command createVehicleLocal with special vehicle class "#lightpoint"
for example: _light = "#lightpoint" createVehicleLocal pos; _light setLightBrightness 1.0; _light setLightAmbient [0.0, 1.0, 0.0]; _light setLightColor [0.0, 1.0, 0.0]; _light lightAttachObject [_object, [0,0,0]];