setLightBrightness: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ") |
m (Text replacement - "ArmA3" to "{{arma3}}") |
||
Line 41: | Line 41: | ||
</code> | </code> | ||
<dd class="notedate">Posted on Mar 24, 2014 - 23:27</dd> | <dd class="notedate">Posted on Mar 24, 2014 - 23:27</dd> | ||
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]<dd class="note">In | <dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]<dd class="note">In {{arma3}} ver1.14 [[setLightBrightness]] will overwrite the previous effect processed by [[setLightIntensity]] on the same light source, vice versa. And both of them currently play the same role on brightness, for example: <code>_light [[setLightBrightness]] 1;// same as _light [[setLightIntensity]] 3000;</code> | ||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 16:11, 31 January 2021
Description
- Description:
- Description needed
- Groups:
- Lights
Syntax
- Syntax:
- Syntax needed
- Parameters:
- light: Object
- brightness: Number
- Return Value:
- Return value needed
Examples
- Example 1:
myLight setLightBrightness 2;
Additional Information
- See also:
- See also needed
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
- Posted on Dec 1, 2006 - 16:42
- Feersum
-
Light can be created with command createVehicleLocal with special vehicle class "#lightpoint"
for example:_light = "#lightpoint" createVehicleLocal pos; _light setLightBrightness 1.0; _light setLightAmbient [0.0, 1.0, 0.0]; _light setLightColor [0.0, 1.0, 0.0]; _light lightAttachObject [_object, [0,0,0]];
- Posted on Mar 24, 2014 - 23:27
- ffur2007slx2_5
- In Arma 3 ver1.14 setLightBrightness will overwrite the previous effect processed by setLightIntensity on the same light source, vice versa. And both of them currently play the same role on brightness, for example:
_light setLightBrightness 1;// same as _light setLightIntensity 3000;