SetLightRadius

From the Oblivion ConstructionSet Wiki
Revision as of 19:18, 21 January 2008 by imported>Scruggs (caveats)
Jump to navigation Jump to search

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