setLightFlareMaxDistance: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets max distance where the flare is visible.  |= Description
| Sets max distance where the flare is visible.  |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| light '''setLightFlareMaxDistance''' distance |= Syntax
| light '''setLightFlareMaxDistance''' distance |SYNTAX=


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




|x1= <code>myLight setLightFlareMaxDistance 500;</code> |= Example 1
|x1= <code>myLight setLightFlareMaxDistance 500;</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightBrightness]], [[setLightDayLight]] |= See also
| [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightBrightness]], [[setLightDayLight]] |SEEALSO=


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 14:47, 7 April 2019

Hover & click on the images for description

Description

Description:
Sets max distance where the flare is visible.
Groups:
Uncategorised

Syntax

Syntax:
light setLightFlareMaxDistance distance
Parameters:
light: Object
distance: Number
Return Value:
Nothing

Examples

Example 1:
myLight setLightFlareMaxDistance 500;

Additional Information

See also:
setLightAmbientsetLightColorlightAttachObjectlightDetachObjectsetLightIntensitysetLightAttenuationsetLightUseFlaresetLightFlareSizesetLightBrightnesssetLightDayLight

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

Bottom Section