setLightUseFlare: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 11: Line 10:


|eff= local |Multiplayer Effects=
|eff= local |Multiplayer Effects=
____________________________________________________________________________________________


| Sets if light has flare. |DESCRIPTION=
| Sets if light has flare. |DESCRIPTION=
____________________________________________________________________________________________


| light [[setLightUseFlare]] bool |SYNTAX=
| light [[setLightUseFlare]] bool |SYNTAX=
Line 26: Line 23:


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


| [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightBrightness]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]] |SEEALSO=
| [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightBrightness]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]] |SEEALSO=

Revision as of 03:52, 17 January 2021

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