Difference between revisions of "GetCurrentRegions"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>CSbot
(Automated import of articles)
 
imported>DragoonWraith
m (moved GetCurrentRegion to GetCurrentRegions: the version described is the array-returning plural version.)
(No difference)

Revision as of 23:59, 5 January 2012

< [[::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.