Difference between revisions of "GetLightLevel - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>GoldenShadow
m (→‎Examples: typo fix)
imported>Tox2ik
 
(One intermediate revision by one other user not shown)
Line 14: Line 14:


== Return Value ==
== Return Value ==
The light level of the actor
The light level of the actor. The value may be anywhere between 0 and 150.


== Examples ==
== Examples ==
<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]]

Latest revision as of 17:52, 9 January 2013

Member of: Actor Script

Get the light level of the actor

Syntax[edit | edit source]

float Function GetLightLevel() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The light level of the actor. The value may be anywhere between 0 and 150.

Examples[edit | edit source]

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

See Also[edit | edit source]