IsPlayerInRegion
From GECK
A function included in the GECK for Fallout: New Vegas.
Contents
Description
Returns 1 if the actor is currently in the specified region. Always returns 0 if the actor is in an interior cell.
Syntax
(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
- GetInWorldspace
- GetInCell
- PlayerInRegion works as a condition.
- GetPlayerRegions