setLightIntensity: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\<dt class\=\"note\"\>\'\'\'\[\[(.*)\]\]\'\'\'" to "<dt class="note">$1") |
Lou Montana (talk | contribs) m (Add Category:Command Group: Lights) |
||
Line 7: | Line 7: | ||
|arg= local |MPARGUMENTS= | |arg= local |MPARGUMENTS= | ||
|eff= local |Multiplayer Effects= | |eff= local |Multiplayer Effects= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 13: | Line 14: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| light | | light [[setLightIntensity]] value |SYNTAX= | ||
|p1= light: [[Object]] |PARAMETER1= | |p1= light: [[Object]] |PARAMETER1= | ||
Line 21: | Line 22: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>myLight [[setLightIntensity]] 4;</code> |EXAMPLE1= | |||
|x1= <code>myLight setLightIntensity 4;</code> |EXAMPLE1= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightBrightness]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]] |SEEALSO= | | [[setLightAmbient]], [[setLightColor]], [[lightAttachObject]], [[lightDetachObject]], [[setLightBrightness]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Line 40: | Line 39: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category: | [[Category:Command Group: Lights]] | ||
Revision as of 22:53, 19 July 2020
Description
- Description:
- Sets intensity of light.
- Groups:
- Uncategorised
Syntax
- Syntax:
- light setLightIntensity value
- Parameters:
- light: Object
- value: Number
- Return Value:
- Nothing
Examples
- Example 1:
myLight setLightIntensity 4;
Additional Information
- See also:
- setLightAmbientsetLightColorlightAttachObjectlightDetachObjectsetLightBrightnesssetLightAttenuationsetLightUseFlaresetLightFlareSizesetLightFlareMaxDistancesetLightDayLight
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
Notes
- Posted on Mar 24, 2014 - 23:37
- ffur2007slx2_5
- In ArmA3 ver1.14 setLightIntensity will overwrite the previous effect processed by setLightBrightness on the same light source, vice versa. And both of them currently play the same role on brightness, for example:
_light setLightIntensity 3000;// same as _light setLightBrightness 1;