setLightVolumeShape

From Bohemia Interactive Community

{{RV|type=command

|game1= arma3 |version1= 2.06

|gr1= Lights

|arg= local

|eff= local

|descr= Sets the #lightreflector's volume shape. An empty shape will switch the light off.

|s1= lightReflector setLightVolumeShape [shapePath, scale]

|p1= lightReflector : Object - object of class #lightreflector)

|p2= shapePath: String - "" to turn the light off

|p3= scale: Array with [sizeX, sizeY, sizeZ]

|r1= Nothing

|x1=

_light setLightVolumeShape ["a3\data_f\VolumeLightFlashlight.p3d", [1, 1, 1]];

|seealso= setLightColor setLightAmbient setLightBrightness lightAttachObject lightDetachObject setLightIntensity setLightAttenuation setLightUseFlare setLightFlareSize setLightFlareMaxDistance setLightDayLight setLightIR }}