GetActorLightAmount

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns a float describing the amount of light falling on the calling actor.

Syntax

[help]
(lightAmount:float) reference.GetActorLightAmount

Example

set fLightAmount to actorRef.GetActorLightAmount 

Notes

  • Higher values indicate more light: the values range from 0.0 for complete darkness, to 100.0 for very bright light.