setLightUseFlare: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Lights |GROUP1= ")
m (Some wiki formatting)
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 0.50


|0.50|Game version=
|gr1= Lights


|gr1 = Lights |GROUP1=
|arg= local


|eff= local


|descr= Sets if light has flare.


|arg= local |MPARGUMENTS=
|s1= light [[setLightUseFlare]] bool


|eff= local |Multiplayer Effects=
|p1= light: [[Object]]
____________________________________________________________________________________________


| Sets if light has flare. |DESCRIPTION=
|p2= bool: [[Boolean]]
____________________________________________________________________________________________


| light [[setLightUseFlare]] bool |SYNTAX=
|r1= [[Nothing]]


|p1= light: [[Object]] |PARAMETER1=
|x1= <sqf>myLight setLightUseFlare true;</sqf>
 
|p2= bool: [[Boolean]] |PARAMETER2=
 
| [[Nothing]] |RETURNVALUE=  


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


|x1= <code>myLight [[setLightUseFlare]] [[true]];</code> |EXAMPLE1=
{{Note
____________________________________________________________________________________________
|user= ffur2007slx2_5
 
|timestamp= 20140325185000
| [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightBrightness]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]] |SEEALSO=
|text= <nowiki/>
 
# In {{arma3}} ver 1.14 flare color can be changed via [[setLightColor]].
|  |MPBEHAVIOUR=
# 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.
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on Mar 25, 2014 - 18:50
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]<dd class="note">1. In ArmA3 ver 1.14 flare color can be changed via [[setLightColor]].<br>
2. Flare won't have visual presentation in daytime.<br>
3. [[setLightUseFlare]] needs to be used together with [[setLightFlareSize]] and [[setLightFlareMaxDistance]] so that a flare can be seen.
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Command Group: Lights]]

Latest revision as of 00:45, 14 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.