Difference between revisions of "SetLightRadius"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Created)
 
imported>Scruggs
(caveats)
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. Changes are not saved in the savegame.
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.


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

Revision as of 19:18, 21 January 2008

A command for Oblivion Script Extender

Syntax:

(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.

See Also