setLightIR: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 22: | Line 22: | ||
|x1= <code>myLight '''setLightIR''' [[true]]; {{cc|Visible with NVG only!}}</code> | |x1= <code>myLight '''setLightIR''' [[true]]; {{cc|Visible with NVG only!}}</code> | ||
|seealso= [[setLightColor]] [[setLightAmbient]] [[setLightBrightness]] [[lightAttachObject]] [[lightDetachObject]] [[setLightIntensity]] [[setLightAttenuation]] | |seealso= [[setLightColor]] [[setLightAmbient]] [[setLightBrightness]] [[lightAttachObject]] [[lightDetachObject]] [[setLightIntensity]] [[setLightAttenuation]] [[setLightUseFlare]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]] | ||
}} | }} |
Revision as of 18:33, 20 January 2022
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:
- setLightColor setLightAmbient setLightBrightness lightAttachObject lightDetachObject setLightIntensity setLightAttenuation setLightUseFlaresetLightFlareSizesetLightFlareMaxDistancesetLightDayLight
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