GetCurrentRegions

From the Oblivion ConstructionSet Wiki
Revision as of 23:59, 5 January 2012 by imported>DragoonWraith (moved GetCurrentRegion to GetCurrentRegions: the version described is the array-returning plural version.)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(regions:Array) GetCurrentRegion

Returns an Array of all the regions 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.