setLightFlareMaxDistance: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|0.50|Game version=
|0.50


|gr1 = Lights |GROUP1=
|gr1 = Lights


|arg= local |MPARGUMENTS=
|arg= local


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


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


| light [[setLightFlareMaxDistance]] distance |SYNTAX=
| light [[setLightFlareMaxDistance]] distance


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


|p2= distance: [[Number]] |PARAMETER2=
|p2= distance: [[Number]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]


|x1= <code>myLight [[setLightFlareMaxDistance]] 500;</code> |EXAMPLE1=
|x1= <code>myLight [[setLightFlareMaxDistance]] 500;</code>


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


| |MPBEHAVIOUR=
|
}}
}}

Revision as of 11:12, 18 January 2021

Hover & click on the images for description

Description

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

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