Difference between revisions of "SetLightRadius"
Jump to navigation
Jump to search
imported>Haama (Created) |
imported>Haama (→Notes: Clarification) |
||
(2 intermediate revisions by 2 users 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. 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.