Arma 3 Scripting

Command in Lights

setLightVolumeShape

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets the 1. lightreflector's volume shape. An empty shape will switch the light off.

Syntax

lightReflector setLightVolumeShape [shapePath, scale]

Parameters:

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