getLightingAt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page creation)
 
m (Return value update)
Line 11: Line 11:
|p1= obj: [[Object]]
|p1= obj: [[Object]]


|r1= [[Array]] to format [dynamicLightColor, dynamiclightBrightness, ambientLightColor, ambientLightBrightness]:
|r1= [[Array]] to format [ambientLightColor, ambientLightBrightness, dynamicLightColor, dynamiclightBrightness]:
* ambientLightColor: [[Color]]
* ambientLightBrightness: [[Number]]
* dynamicLightColor: [[Color]]
* dynamicLightColor: [[Color]]
* dynamiclightBrightness: [[Number]]
* dynamiclightBrightness: [[Number]]
* ambientLightColor: [[Color]]
* ambientLightBrightness: [[Number]]


|x1= <!--<code>[[getLightingAt]] [[player]]; {{cc|returns }}</code>-->
|x1= <!--<code>[[getLightingAt]] [[player]]; {{cc|returns }}</code>-->

Revision as of 09:41, 4 August 2020

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version |?]]
Hover & click on the images for description

Description

Description:
Gets provided object's lighting information.
Groups:
Uncategorised

Syntax

Syntax:
getLightingAt obj
Parameters:
obj: Object
Return Value:
Array to format [ambientLightColor, ambientLightBrightness, dynamicLightColor, dynamiclightBrightness]:
  • ambientLightColor: Color
  • ambientLightBrightness: Number
  • dynamicLightColor: Color
  • dynamiclightBrightness: Number

Examples

Examples:
Example needed

Additional Information

See also:
getLighting Command Group: Lights Lightpoint Tutorial

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

[[Category:Introduced with arma3dev version ]][[ Category: arma3dev: New Scripting Commands | GETLIGHTINGAT]][[ Category: arma3dev: Scripting Commands | GETLIGHTINGAT]]

Bottom Section