getLightingAt: Difference between revisions
Jump to navigation
Jump to search
m (Available on stable) |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 5: | Line 5: | ||
|version= 2.00 | |version= 2.00 | ||
|gr1 = Lights | |gr1 = Lights | ||
|descr= Gets provided object's lighting information. | |descr= Gets provided object's lighting information. |
Revision as of 00:42, 18 January 2021
Description
- Description:
- Gets provided object's lighting information.
- Groups:
- Lights
Syntax
- Syntax:
- getLightingAt obj
- Parameters:
- obj: Object
- Return Value:
- Array to format [ambientLightColor, ambientLightBrightness, dynamicLightColor, dynamicLightBrightness]:
- ambientLightColor: Color RGB
- ambientLightBrightness: Number
- dynamicLightColor: Color (RGB)
- dynamiclightBrightness: Number
Examples
- Example 1:
getLightingAt player; // returns [[1,1,1], 0.5, [0,0,0], 0]
Additional Information
- See also:
- getLighting 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