setLightUseFlare: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
Lou Montana (talk | contribs) |
||
Line 22: | Line 22: | ||
|x1= <code>myLight [[setLightUseFlare]] [[true]];</code> | |x1= <code>myLight [[setLightUseFlare]] [[true]];</code> | ||
|seealso= [[setLightAmbient]] | |seealso= [[setLightAmbient]] [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightBrightness]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]] | ||
}} | }} | ||
Revision as of 17:46, 20 January 2022
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 setLightColorlightAttachObjectlightDetachObjectsetLightIntensitysetLightAttenuationsetLightBrightnesssetLightFlareSizesetLightFlareMaxDistancesetLightDayLight
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.