setLightUseFlare: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
m (Some wiki formatting)
 
(13 intermediate revisions by the same user not shown)
Line 12: Line 12:
|descr= Sets if light has flare.
|descr= Sets if light has flare.


|s1= light [[setLightUseFlare]] bool
|s1= light [[setLightUseFlare]] bool


|p1= light: [[Object]]
|p1= light: [[Object]]
Line 20: Line 20:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>myLight [[setLightUseFlare]] [[true]];</code>
|x1= <sqf>myLight setLightUseFlare true;</sqf>


|seealso= [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightBrightness]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]]
|seealso= [[setLightAmbient]] [[setLightColor]] [[lightAttachObject]] [[lightDetachObject]] [[setLightIntensity]] [[setLightAttenuation]] [[setLightBrightness]] [[setLightFlareSize]] [[setLightFlareMaxDistance]] [[setLightDayLight]]
}}
}}


<dl class="command_description">
{{Note
 
|user= ffur2007slx2_5
<dt></dt>
|timestamp= 20140325185000
<dd class="notedate">Posted on Mar 25, 2014 - 18:50</dd>
|text= <nowiki/>
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]</dt>
# In {{arma3}} ver 1.14 flare color can be changed via [[setLightColor]].
<dd class="note">1. In {{arma3}} ver 1.14 flare color can be changed via [[setLightColor]].<br>
# Flare won't have visual presentation in daytime.
2. Flare won't have visual presentation in daytime.<br>
# [[setLightUseFlare]] needs to be used together with [[setLightFlareSize]] and [[setLightFlareMaxDistance]] so that a flare can be seen.
3. [[setLightUseFlare]] needs to be used together with [[setLightFlareSize]] and [[setLightFlareMaxDistance]] so that a flare can be seen.
}}
</dl>

Latest revision as of 23:45, 13 May 2023

Hover & click on the images for description

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:
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
ffur2007slx2_5 - c
Posted on Mar 25, 2014 - 18:50 (UTC)
  1. In Arma 3 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.