setLightVolumeShape: Difference between revisions
Killzone Kid (talk | contribs) No edit summary |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 18: | Line 18: | ||
|p2= shapePath: [[String]] - "" to turn the light off | |p2= shapePath: [[String]] - "" to turn the light off | ||
|p3= scale: [[Array]] | |p3= scale: [[Array]] with [sizeX, sizeY, sizeZ] | ||
* sizeX: [[Number] | |||
* sizeY: [[Number]] | |||
* sizeZ: [[Number]] | |||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
Revision as of 04:20, 4 May 2026
{{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 }}