GetActorLightAmount

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(lightAmount:float) reference.GetActorLightAmout
[Ref.]GetActorLightAmount

Returns a float describing the amount of light falling on an actor, or 100 if the actor is not in high/medium-high process.

Notes[edit | edit source]

  • Must be called on a reference to an actor.
  • Higher values indicate more light: the values appear to range from 0.00 for complete darkness to 100.00 for very bright light.