IsPlayerInRegion

From the Fallout3 GECK Wiki
Revision as of 01:26, 1 January 2011 by imported>Ez0n3
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function included in the GECK Version 1.1.0.262 for Fallout: New Vegas.

Description

Returns 1 if the actor is currently in the specified region. Always returns 0 if the actor is in an interior cell.

Syntax

[help]
(0, 1:int) IsPlayerInRegion :RegionID

Example

IsPlayerInRegion VMapGoodspringsRegion

Notes

  • If you're in a sub-region of a larger region, it will return 1 for both.

See Also