Difference between revisions of "GetLightLevel - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Cipscis
m (Wasn't actually a typo, just a variable naming convention)
imported>Tox2ik
 
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 ==

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]