setLightIntensity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>")
m (Text replacement - "]]<dd class="note">" to "]]</dt> <dd class="note">")
Line 30: Line 30:
<dt></dt>
<dt></dt>
<dd class="notedate">Posted on Mar 24, 2014 - 23:37</dd>
<dd class="notedate">Posted on Mar 24, 2014 - 23:37</dd>
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]<dd class="note">In {{arma3}} ver1.14 [[setLightIntensity]] will overwrite the previous effect processed by [[setLightBrightness]] on the same light source, vice versa. And both of them currently play the same role on brightness, for example: <code>_light [[setLightIntensity]] 3000;// same as _light [[setLightBrightness]] 1;</code>
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]</dt>
<dd class="note">In {{arma3}} ver1.14 [[setLightIntensity]] will overwrite the previous effect processed by [[setLightBrightness]] on the same light source, vice versa. And both of them currently play the same role on brightness, for example: <code>_light [[setLightIntensity]] 3000;// same as _light [[setLightBrightness]] 1;</code>
</dl>
</dl>

Revision as of 19:32, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Lights

Syntax

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

Examples

Example 1:
myLight setLightIntensity 4;

Additional Information

See also:
setLightAmbientsetLightColorlightAttachObjectlightDetachObjectsetLightBrightnesssetLightAttenuationsetLightUseFlaresetLightFlareSizesetLightFlareMaxDistancesetLightDayLight

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