getLightingAt

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 2.002.00
Hover & click on the images for descriptions

Description

Description:
Gets provided object's lighting information.

Syntax

Syntax:
getLightingAt obj
Parameters:
obj: Object
Return Value:
Array to format [ambientLightColor, ambientLightBrightness, dynamicLightColor, dynamicLightBrightness]:

Examples

Example 1:
getLightingAt player; // returns [[1,1,1], 0.5, [0,0,0], 0]

Additional Information

See also:
getLighting Lightpoint Tutorial
Groups:
Lights

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Bottom Section