Difference between revisions of "CloseCurrentOblivionGate"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(CS 1.0)
imported>Fella
Line 13: Line 13:


[[Category: Functions]]
[[Category: Functions]]
[[Category:Functions (CS)]]
[[Category: Functions (CS 1.0)]]
[[Category: Functions (CS 1.0)]]
[[Category: Miscellaneous Functions]]
[[Category: Miscellaneous Functions]]
[[Category: Miscellaneous Functions (CS 1.0)]]
[[Category: Miscellaneous Functions (CS 1.0)]]

Revision as of 11:17, 23 January 2008

Syntax:

CloseCurrentOblivionGate iNoResetFlag (optional)


When CloseCurrentOblivionGate is called, the Oblivion world the player is in is reset. He is returned to where he entered Oblivion and set to face the gate. The gate then crumbles and is marked as destroyed (no longer usable). Foreign actors are moved outside the gate and the linked worldspace is reset.


If the optional iNoResetFlag = 1, the Oblivion world is not reset when the gate is closed.


See Also

CloseOblivionGate