getLightingAt: Difference between revisions
Jump to navigation
Jump to search
m (Color to Color RGB) |
Lou Montana (talk | contribs) m (Fix camelCase) |
||
Line 11: | Line 11: | ||
|p1= obj: [[Object]] | |p1= obj: [[Object]] | ||
|r1= [[Array]] to format [ambientLightColor, ambientLightBrightness, dynamicLightColor, | |r1= [[Array]] to format [ambientLightColor, ambientLightBrightness, dynamicLightColor, dynamicLightBrightness]: | ||
* ambientLightColor: [[Color|Color RGB]] | * ambientLightColor: [[Color|Color RGB]] | ||
* ambientLightBrightness: [[Number]] | * ambientLightBrightness: [[Number]] | ||
Line 17: | Line 17: | ||
* dynamiclightBrightness: [[Number]] | * dynamiclightBrightness: [[Number]] | ||
|x1= <!--<code>[[getLightingAt]] [[player]]; {{cc|returns }}</code>--> | |x1= <!--<code>[[getLightingAt]] [[player]]; {{cc|returns [<nowiki/>[1,1,1], 0.5, [0,0,0], 0]}}</code>--> | ||
|seealso= [[getLighting]] [[:Category:Command Group: Lights|Command Group: Lights]] [[Lightpoint Tutorial]] | |seealso= [[getLighting]] [[:Category:Command Group: Lights|Command Group: Lights]] [[Lightpoint Tutorial]] |
Revision as of 00:14, 6 August 2020
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]:
Examples
- Examples:
- Example needed
Additional Information
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]]