setLightUseFlare: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\<dt class\=\"note\"\>\'\'\'\[\[(.*)\]\]\'\'\'" to "<dt class="note">$1") |
Lou Montana (talk | contribs) m (Add Category:Command Group: Lights) |
||
Line 5: | Line 5: | ||
|0.50|Game version= | |0.50|Game version= | ||
|arg= local |MPARGUMENTS= | |arg= local |MPARGUMENTS= | ||
|eff= local |Multiplayer Effects= | |eff= local |Multiplayer Effects= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets if light has flare. | | Sets if light has flare. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| light | | light [[setLightUseFlare]] bool |SYNTAX= | ||
|p1= light: [[Object]] | |p1= light: [[Object]] |PARAMETER1= | ||
|p2= bool: [[Boolean]] | |p2= bool: [[Boolean]] |PARAMETER2= | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
Line 26: | Line 28: | ||
| [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightBrightness]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]] |SEEALSO= | | [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightBrightness]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Line 41: | Line 42: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category: | [[Category:Command Group: Lights]] | ||
Revision as of 22:54, 19 July 2020
Description
- Description:
- Sets if light has flare.
- Groups:
- Uncategorised
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.