setLightFlareMaxDistance: 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 (Text replacement - "<code>([a-zA-Z0-9_]+) +\[\[([a-zA-Z0-9_]+)\]\] +([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
 
(10 intermediate revisions by the same user not shown)
Line 12: 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 20: 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