setLightVolumeShape
- Local argument
- Local effect
- Arma 3 v2.06
Command · Markdown · JSON · original wiki page
Description
Sets the #lightreflector's volume shape. An empty shape will switch the light off.
Syntax
lightReflector setLightVolumeShape [shapePath, scale]
Parameters:
-
lightReflector: Object - object of class#lightreflector) -
shapePath: String - "" to turn the light off -
scale: Array with [sizeX, sizeY, sizeZ]
Returns: Nothing
Examples
Example 1
_light setLightVolumeShape ["a3\data_f\VolumeLightFlashlight.p3d", [1, 1, 1]];
See also
setLightColor · setLightAmbient · setLightBrightness · lightAttachObject · lightDetachObject · setLightIntensity · setLightAttenuation · setLightUseFlare · setLightFlareSize · setLightFlareMaxDistance · setLightDayLight · setLightIR