GetCurrentRegion

From the Oblivion ConstructionSet Wiki
Revision as of 00:03, 6 January 2012 by imported>DragoonWraith
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(region:form) GetCurrentRegion

Returns the region in which the player is currently located, if any. In interior cells, generally returns 0. Regions in exterior cells can overlap, therefore it's possible for the player to be in several regions simultaneously, so GetCurrentRegions is probably the better function to use.


See Also