setLightIR: Difference between revisions
Jump to navigation
Jump to search
m (fixed example and syntax) |
mNo edit summary |
||
Line 16: | Line 16: | ||
|s1= light [[setLightIR]] value | |s1= light [[setLightIR]] value | ||
|p1= light: [[Object]] | |p1= light: [[Object]] - Object of class <tt>"#lightpoint"</tt> or similar | ||
|p2= value: [[Boolean]] - [[true|True]] to make it visible ''only'' with night vision goggles, [[false]] to make it a normal light | |p2= value: [[Boolean]] - [[true|True]] to make it visible ''only'' with night vision goggles, [[false]] to make it a normal light |
Revision as of 11:18, 28 May 2021
Description
- Description:
- Sets lightpoint in infrared range.
- Groups:
- Lights
Syntax
- Syntax:
- light setLightIR value
- Parameters:
- light: Object - Object of class "#lightpoint" or similar
- value: Boolean - True to make it visible only with night vision goggles, false to make it a normal light
- Return Value:
- Nothing
Examples
- Example 1:
myLight setLightIR true; // Visible with NVG only!
Additional Information
- See also:
- setLightColorsetLightAmbientsetLightBrightnesslightAttachObjectlightDetachObjectsetLightIntensitysetLightAttenuationsetLightUseFlaresetLightFlareSizesetLightFlareMaxDistancesetLightDayLight
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