Difference between revisions of "GetLightLevel - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Henning
(Created page with 'Category:Scripting Category:Papyrus '''Member of:''' Actor Script Get the light level of the actor == Syntax == <source lang="papyrus"> float Function GetLightLevel…')
 
imported>GoldenShadow
m (→‎Examples: typo fix)
Line 19: Line 19:
<source lang="papyrus">
<source lang="papyrus">
; Get Bob's light level
; Get Bob's light level
float flightLevel = Bob.GetLightLevel()
float lightLevel = Bob.GetLightLevel()
</source>
</source>


== See Also ==
== See Also ==
*[[Actor Script]]
*[[Actor Script]]

Revision as of 12:55, 18 November 2012

Member of: Actor Script

Get the light level of the actor

Syntax

float Function GetLightLevel() native

Parameters

None.

Return Value

The light level of the actor

Examples

; Get Bob's light level
float lightLevel = Bob.GetLightLevel()

See Also