Difference between revisions of "GetLightLevel - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>GoldenShadow
m (→‎Examples: typo fix)
imported>Cipscis
m (Wasn't actually a typo, just a variable naming convention)
Line 19: Line 19:
<source lang="papyrus">
<source lang="papyrus">
; Get Bob's light level
; Get Bob's light level
float lightLevel = Bob.GetLightLevel()
float fLightLevel = Bob.GetLightLevel()
</source>
</source>


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

Revision as of 22:10, 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 fLightLevel = Bob.GetLightLevel()

See Also