setLightFlareMaxDistance: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
m (Text replacement - "<code>([a-zA-Z0-9_]+) +\[\[([a-zA-Z0-9_]+)\]\] +([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 0.50
|0.50


|gr1= Lights
|gr1= Lights
Line 13: Line 12:
|descr= Sets max distance where the flare is visible.
|descr= Sets max distance where the flare is visible.


|s1= light [[setLightFlareMaxDistance]] distance
|s1= light [[setLightFlareMaxDistance]] distance


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


|x1= <code>myLight [[setLightFlareMaxDistance]] 500;</code>
|x1= <sqf>myLight setLightFlareMaxDistance 500;</sqf>


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

Latest revision as of 13:25, 5 May 2022

Hover & click on the images for description

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:
setLightAmbient setLightColor lightAttachObject lightDetachObject setLightIntensity setLightAttenuation setLightUseFlare setLightFlareSize setLightBrightness 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