setLightIntensity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 36: Line 36:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
 
<dd class="notedate">Posted on Mar 24, 2014 - 23:37
<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>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 17:36, 24 March 2014

Hover & click on the images for description

Description

Description:
Sets intensity of light.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:

Additional Information

See also:
setLightAmbientsetLightColorlightAttachObjectsetLightBrightnesssetLightAttenuationsetLightUseFlaresetLightFlareSizesetLightFlareMaxDistancesetLightDayLight

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

Notes

Posted on Mar 24, 2014 - 23:37
ffur2007slx2_5
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: _light setLightIntensity 3000;// same as _light setLightBrightness 1;

Bottom Section