setLightUseFlare: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Lights |GROUP1= ")
mNo edit summary
Line 7: Line 7:


|gr1 = Lights |GROUP1=
|gr1 = Lights |GROUP1=


|arg= local |MPARGUMENTS=
|arg= local |MPARGUMENTS=
Line 46: Line 44:


<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Command Group: Lights]]

Revision as of 11:20, 26 September 2020

Hover & click on the images for description

Description

Description:
Sets if light has flare.
Groups:
Lights

Syntax

Syntax:
light setLightUseFlare bool
Parameters:
light: Object
bool: Boolean
Return Value:
Nothing

Examples

Example 1:
myLight setLightUseFlare true;

Additional Information

See also:
setLightAmbientsetLightColorlightAttachObjectlightDetachObjectsetLightIntensitysetLightAttenuationsetLightBrightnesssetLightFlareSizesetLightFlareMaxDistancesetLightDayLight

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 25, 2014 - 18:50
ffur2007slx2_5
1. In ArmA3 ver 1.14 flare color can be changed via setLightColor.
2. Flare won't have visual presentation in daytime.
3. setLightUseFlare needs to be used together with setLightFlareSize and setLightFlareMaxDistance so that a flare can be seen.

Bottom Section