setLightIR: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page creation) |
Lou Montana (talk | contribs) m (Text replacement - " |game1= arma3 |version1= 2.06 |branch= dev " to " |game1= arma3 |version1= 2.06 ") |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.06 | |version1= 2.06 | ||
|gr1= Lights | |gr1= Lights | ||
Line 14: | Line 12: | ||
|descr= Sets lightpoint in infrared range. | |descr= Sets lightpoint in infrared range. | ||
|s1= light [[ | |s1= light [[setLightIR]] value | ||
|p1= light: [[Object]] | |p1= light: [[Object]] - Object of class <tt>"#lightpoint"</tt> or similar | ||
|p2= value: [[Boolean]] - [[true]] to make it visible ''only'' with night vision goggles, [[false]] to make it a normal light | |p2= value: [[Boolean]] - [[true]] to make it visible ''only'' with night vision goggles, [[false]] to make it a normal light | ||
Line 22: | Line 20: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>myLight | |x1= <code>myLight '''setLightIR''' [[true]]; {{cc|Visible with NVG only!}}</code> | ||
|seealso= [[setLightColor]], [[setLightAmbient]], [[setLightBrightness]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]] | |seealso= [[setLightColor]], [[setLightAmbient]], [[setLightBrightness]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]] | ||
}} | }} |
Revision as of 18:28, 5 October 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