zone

Methods

_get_map_zone_at_coords

Returns name hash, see common:/data/levels/rdr3/mapzones.meta

type (-1 matches any type): class CMapZone { public: enum class Type { STATE, TOWN, LAKE, RIVER, OIL_SPILL, SWAMP, OCEAN, CREEK, POND, GLACIER, DISTRICT, TEXT_PRINTED, TEXT_WRITTEN }; };

https://github.com/femga/rdr3_discoveries/tree/master/zones & https://alloc8or.re/rdr3/doc/enums/CMapZone__Type.txt

function native.zone._get_map_zone_at_coords(x: float, y: float, z: float, type: int): int

_get_water_map_zone_at_coords

Returns the zone's name hash if its type matches one of the following:

  • LAKE
  • RIVER
  • OIL_SPILL
  • SWAMP
  • OCEAN
  • CREEK
  • POND
  • GLACIER
function native.zone._get_water_map_zone_at_coords(x: float, y: float, z: float): int