setLightUseFlare: Difference between revisions
Jump to navigation
Jump to search
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...) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(31 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 0.50 | |||
|gr1= Lights | |||
|gr1 = Lights | |||
|arg= local | |arg= local | ||
Line 11: | Line 10: | ||
|eff= local | |eff= local | ||
| Sets if light has flare. | |descr= Sets if light has flare. | ||
| light [[setLightUseFlare]] bool | |s1= light [[setLightUseFlare]] bool | ||
|p1= light: [[Object]] | |p1= light: [[Object]] | ||
Line 19: | Line 18: | ||
|p2= bool: [[Boolean]] | |p2= bool: [[Boolean]] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <sqf>myLight setLightUseFlare true;</sqf> | |||
| | |seealso= [[setLightAmbient]] [[setLightColor]] [[lightAttachObject]] [[lightDetachObject]] [[setLightIntensity]] [[setLightAttenuation]] [[setLightBrightness]] [[setLightFlareSize]] [[setLightFlareMaxDistance]] [[setLightDayLight]] | ||
}} | |||
| | {{Note | ||
|user= ffur2007slx2_5 | |||
|timestamp= 20140325185000 | |||
|text= <nowiki/> | |||
# In {{arma3}} ver 1.14 flare color can be changed via [[setLightColor]]. | |||
# Flare won't have visual presentation in daytime. | |||
# [[setLightUseFlare]] needs to be used together with [[setLightFlareSize]] and [[setLightFlareMaxDistance]] so that a flare can be seen. | |||
}} | }} | ||
Latest revision as of 23:45, 13 May 2023
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:
Additional Information
- See also:
- setLightAmbient setLightColor lightAttachObject lightDetachObject setLightIntensity setLightAttenuation setLightBrightness setLightFlareSize setLightFlareMaxDistance setLightDayLight
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
- Posted on Mar 25, 2014 - 18:50 (UTC)
-
- In Arma 3 ver 1.14 flare color can be changed via setLightColor.
- Flare won't have visual presentation in daytime.
- setLightUseFlare needs to be used together with setLightFlareSize and setLightFlareMaxDistance so that a flare can be seen.