IsPlayerInRegion

From GECK
Jump to: navigation, search


A function included in the GECK 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