Difference between revisions of "SetLightRadius"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Scruggs
(caveats)
imported>Haama
(→‎Notes: Clarification)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
'''Syntax:'''
'''Syntax:'''
  (nothing) ''reference''.SetLightRadius radius:short ''light:ref''
  (nothing) ''reference''.SetLightRadius radius:short ''light:ref''
Sets the radius of the light. Note that while this function can be called on a reference, it affects the base object. Also note that the game will not update the lighting until the cell is reloaded or you force the light to be reloaded (by, for example, calling [[Disable]] followed by [[Enable]] on it). Changes are not saved in the savegame.
Sets the radius of the light.
 
==Notes==
*While this function can be called on a reference, it affects the base object.
*The game will not update the lighting until the cell is reloaded or you force the light to be reloaded (by, for example, calling [[Disable]] followed by [[Enable]] on it).
*Changes to non-cloned items (that is, created in the CS) are not saved in the savegame.


==See Also==
==See Also==

Latest revision as of 17:23, 22 January 2008

A command for Oblivion Script Extender

Syntax:

(nothing) reference.SetLightRadius radius:short light:ref

Sets the radius of the light.

Notes[edit | edit source]

  • While this function can be called on a reference, it affects the base object.
  • The game will not update the lighting until the cell is reloaded or you force the light to be reloaded (by, for example, calling Disable followed by Enable on it).
  • Changes to non-cloned items (that is, created in the CS) are not saved in the savegame.

See Also[edit | edit source]