Difference between revisions of "GetCurrentRegion"
Jump to navigation
Jump to search
imported>DragoonWraith (tempted to deprecate this; it's undocumented and probably not intended) |
imported>DragoonWraith m |
||
Line 6: | Line 6: | ||
| returnType = form | | returnType = form | ||
}} | }} | ||
== See Also == | == See Also == | ||
* [[GetCurrentRegions]] | * [[GetCurrentRegions]] |
Revision as of 00:03, 6 January 2012
< [[::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.