setLightBrightness

From Bohemia Interactive Community
Revision as of 01:00, 17 February 2021 by Lou Montana (talk | contribs) (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Description needed
Groups:
Lights

Syntax

Syntax:
Syntax needed
Parameters:
light: Object
brightness: Number
Return Value:
Return value needed

Examples

Example 1:
myLight setLightBrightness 2;

Additional Information

See also:
setLightAmbientsetLightColorlightAttachObjectlightDetachObjectsetLightIntensitysetLightAttenuationsetLightUseFlaresetLightFlareSizesetLightFlareMaxDistancesetLightDayLight

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]];
Posted on Mar 24, 2014 - 23:27
ffur2007slx2_5
In Arma 3 ver1.14 setLightBrightness will overwrite the previous effect processed by setLightIntensity on the same light source, vice versa. And both of them currently play the same role on brightness, for example: _light setLightBrightness 1;// same as _light setLightIntensity 3000;