setLightUseFlare: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <dd class="notedate">" to "<dl class="command_description"> <dt></dt> <dd class="notedate">")
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 19: Line 19:
|p2= bool: [[Boolean]]
|p2= bool: [[Boolean]]


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>myLight [[setLightUseFlare]] [[true]];</code>
|x1= <code>myLight [[setLightUseFlare]] [[true]];</code>

Revision as of 11:17, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Lights

Syntax

Syntax:
Syntax needed
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
Posted on Mar 25, 2014 - 18:50
ffur2007slx2_5
1. In Arma 3 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.