Difference between revisions of "GetActorLightAmount"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Scruggs
 
imported>WereWolf
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:


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


Must be called on a reference to an actor. Returns a float value representing the amount of light currently shining on the reference. Higher values indicate more light. The values appear to range from 0.00 for complete darkness to 100.00 for very bright light.
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==
* 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.


[[Category: OBSE Functions]]
<!--[[Category: OBSE Functions]]
[[Category: OBSE Reference Functions]]
[[Category: OBSE Reference Functions]]
[[Category: OBSE Actor Functions]]-->
[[Category: Functions]]
[[Category: Functions (OBSE)]]
[[Category: Actor Value Functions]]
[[Category: Actor Value Functions (OBSE)]]

Latest revision as of 15:48, 14 September 2007

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.