setLightFlareMaxDistance: Difference between revisions
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 "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma3 | | arma3 | ||
|0.50 | |0.50 | ||
|gr1 = Lights | |gr1 = Lights | ||
|arg= local | |arg= local | ||
|eff= local | |eff= local | ||
| Sets max distance where the flare is visible. | | Sets max distance where the flare is visible. | ||
| light [[setLightFlareMaxDistance]] distance | | light [[setLightFlareMaxDistance]] distance | ||
|p1= light: [[Object]] | |p1= light: [[Object]] | ||
|p2= distance: [[Number]] | |p2= distance: [[Number]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>myLight [[setLightFlareMaxDistance]] 500;</code> | |x1= <code>myLight [[setLightFlareMaxDistance]] 500;</code> | ||
| [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightBrightness]], [[setLightDayLight]] | | [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightBrightness]], [[setLightDayLight]] | ||
| | | | ||
}} | }} |
Revision as of 11:12, 18 January 2021
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