武装突袭 Wiki
Advertisement
  Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

点击图片可看到更多讯息

开始使用于

游戏:
Armed Assault
版本:
1.00

描述

描述:
Set brightness of light.

基本句法

句法:
light setLightBrightness brightness
参数:
light: Object
brightness: Number
返回值:
Nothing

范例

范例1:
myLight setLightBrightness 2;

额外资讯

多人游戏:
-
也可以看看:
setLightAmbientsetLightColorlightAttachObjectlightDetachObjectsetLightIntensitysetLightAttenuationsetLightUseFlaresetLightFlareSizesetLightFlareMaxDistancesetLightDayLight

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

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 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: _light setLightBrightness 1;// same as _light setLightIntensity 3000;

Bottom Section

Advertisement