IsPlayerInRegion

From the Fallout3 GECK Wiki
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