setLightUseFlare: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\<dt class\=\"note\"\>\'\'\'\[\[(.*)\]\]\'\'\'" to "<dt class="note">$1")
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. |DESCRIPTION=
| Sets if light has flare. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| light '''setLightUseFlare''' bool |SYNTAX=
| light [[setLightUseFlare]] bool |SYNTAX=


|p1= light: [[Object]] |PARAMETER1=  
|p1= light: [[Object]] |PARAMETER1=  


|p2= bool: [[Boolean]] |PARAMETER2=  
|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:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Lights]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 22:54, 19 July 2020

Hover & click on the images for description

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.

Bottom Section