setLightUseFlare: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " 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 if light has flare. | | Sets if light has flare. | ||
| light [[setLightUseFlare]] bool | | light [[setLightUseFlare]] bool | ||
|p1= light: [[Object]] | |p1= light: [[Object]] | ||
|p2= bool: [[Boolean]] | |p2= bool: [[Boolean]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>myLight [[setLightUseFlare]] [[true]];</code> | |x1= <code>myLight [[setLightUseFlare]] [[true]];</code> | ||
| [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightBrightness]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]] | | [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightBrightness]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]] | ||
| | | | ||
}} | }} | ||
Revision as of 11:08, 18 January 2021
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.