Difference between revisions of "IsPlayerInRegion"
Jump to navigation
Jump to search
imported>Ez0n3 (New page: {{Function |origin = VEGAS1 |summary = Returns 1 if the actor is currently in the specified region. Always returns 0 if the actor is in an interior cell. |name = IsPlayerInRegion |retu...) |
imported>Ez0n3 |
||
Line 11: | Line 11: | ||
|example = IsPlayerInRegion VMapGoodspringsRegion | |example = IsPlayerInRegion VMapGoodspringsRegion | ||
}} | }} | ||
== Notes == | |||
*If you're in a sub-region of a larger region, it will return 1 for both. | |||
==See Also== | ==See Also== |
Latest revision as of 01:26, 1 January 2011
< [[::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
(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.