Con SetFog

From the Oblivion ConstructionSet Wiki
Revision as of 10:53, 16 March 2010 by imported>Appler
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

con_SetFog StartDistance EndDistance

Sets the starting and ending points of the fog in Oblivion.

Example

con_SetFog 2000.0 5000.0

Sets fog to start 2000 units away and end 5000 units away.

Notes

  • This function also accepts variables for one or both arguments.
  • Due to limitations of the Wiki software, the title of this article, and links to it, cannot display it correctly - there is an underscore (_) in the function's name.
  • This function is identical to the SetFog Console Function, and should behave as if you had called that function from the console.
  • This function was not designed to be run from scripts, and so may not work as expected.