setLightUseFlare

From Bohemia Interactive Community
Revision as of 00:45, 14 May 2023 by Lou Montana (talk | contribs) (Some wiki formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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:
setLightAmbient setLightColor lightAttachObject lightDetachObject setLightIntensity setLightAttenuation setLightBrightness setLightFlareSize setLightFlareMaxDistance setLightDayLight

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
ffur2007slx2_5 - c
Posted on Mar 25, 2014 - 18:50 (UTC)
  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.