# Top-Right Of Region Bounds
Grammar — Top-right of r bounds
Flags —Native
|Function
Returns the maximum bounds of a region. For a rectangle region, this is the top-right corner of the rectangle. In the general case, this is a point comprising the right-most X coordinate and the top-most Y coordinate of the region.
# Arguments
region
— Region
Returns — point
native point RegionGetBoundsMax(region r);
# Related
Category: Region / Modification
- [F] —
point
— Random Point In Region — ( RegionRandomPoint ) - [F] —
point
— Center Of Region — ( RegionGetCenter ) - [F] —
unit
— Unit Attached To Region — ( RegionGetAttachUnit ) - [F] —
void
— Attach Region To Unit — ( RegionAttachToUnit ) - [F] —
void
— Move Region — ( RegionSetCenter ) - [F] —
fixed
— Width Of Region — ( libNtve_gf_WidthOfRegion ) - [F] —
fixed
— Height Of Region — ( libNtve_gf_HeightOfRegion ) - [F] —
point
— Bottom-Left Of Region Bounds — ( RegionGetBoundsMin ) - [F] —
point
— Top-Right Of Region Bounds — ( RegionGetBoundsMax )
# Examples
# campaigns/liberty.sc2campaign
// L2523
RegionGetBoundsMax(lv_boundary)
// L2561
RegionGetBoundsMax(lv_bounds)
// L3134
RegionGetBoundsMax(lv_bounds)
// L2798
RegionGetBoundsMax(RegionFromId(14))
// L2809
RegionGetBoundsMax(RegionFromId(14))
// L2820
RegionGetBoundsMax(RegionFromId(14))
// L35
RegionGetBoundsMax(lp_circle)
// L2523
RegionGetBoundsMax(lv_boundary)
// L2561
RegionGetBoundsMax(lv_bounds)
// L3134
RegionGetBoundsMax(lv_bounds)
// L2798
RegionGetBoundsMax(RegionFromId(14))
// L2809
RegionGetBoundsMax(RegionFromId(14))
// L2820
RegionGetBoundsMax(RegionFromId(14))
// L35
RegionGetBoundsMax(lp_circle)
// L469
RegionGetBoundsMax(RegionPlayableMap())
// L470
RegionGetBoundsMax(RegionPlayableMap())
// L469
RegionGetBoundsMax(RegionPlayableMap())
// L470
RegionGetBoundsMax(RegionPlayableMap())
// L583
RegionGetBoundsMax(RegionPlayableMap())
// L584
RegionGetBoundsMax(RegionPlayableMap())
// L497
RegionGetBoundsMax(RegionFromId(1))
// L583
RegionGetBoundsMax(RegionPlayableMap())
// L584
RegionGetBoundsMax(RegionPlayableMap())
// L497
RegionGetBoundsMax(RegionFromId(1))
# mods/core.sc2mod
// L4171
RegionGetBoundsMax(lp_region)
// L4177
RegionGetBoundsMax(lp_region)
// L3470
RegionGetBoundsMax(lp_region)
// L3476
RegionGetBoundsMax(lp_region)
# mods/heroes.stormmod
// L616
RegionGetBoundsMax(lp_area)
// L618
RegionGetBoundsMax(lp_area)
// L616
RegionGetBoundsMax(lp_area)
// L618
RegionGetBoundsMax(lp_area)
# mods/heroesdata.stormmod
// L260
RegionGetBoundsMax(RegionPlayableMap())
// L261
RegionGetBoundsMax(RegionPlayableMap())
// L265
RegionGetBoundsMax(RegionPlayableMap())
// L272
RegionGetBoundsMax(RegionPlayableMap())
// L287
RegionGetBoundsMax(RegionPlayableMap())
// L298
RegionGetBoundsMax(RegionPlayableMap())
// L338
RegionGetBoundsMax(RegionPlayableMap())
// L343
RegionGetBoundsMax(RegionPlayableMap())
# mods/heroesdata.stormmod
// L1148
RegionGetBoundsMax(lp_bound)
// L1148
RegionGetBoundsMax(libGame_gv_cameraBound_Regions[lv_itIndex])
// L1148
RegionGetBoundsMax(lp_bound)
// L1148
RegionGetBoundsMax(libGame_gv_cameraBound_Regions[lv_itIndex])
# mods/heroesdata.stormmod
— StartingExperienceLib.galaxy
// L1017
RegionGetBoundsMax(RegionPlayableMap())
// L1050
RegionGetBoundsMax(RegionPlayableMap())
# mods/heroesdata.stormmod
// L626
RegionGetBoundsMax(RegionEntireMap())
// L627
RegionGetBoundsMax(RegionEntireMap())
# mods/starcoop/starcoop.sc2mod
// L5228
RegionGetBoundsMax(RegionPlayableMap())
// L5229
RegionGetBoundsMax(RegionPlayableMap())
// L5230
RegionGetBoundsMax(RegionPlayableMap())
// L5231
RegionGetBoundsMax(RegionPlayableMap())
// L5235
RegionGetBoundsMax(RegionPlayableMap())
// L5243
RegionGetBoundsMax(RegionPlayableMap())
// L5261
RegionGetBoundsMax(RegionPlayableMap())
// L5263
RegionGetBoundsMax(RegionPlayableMap())
// L5275
RegionGetBoundsMax(RegionPlayableMap())
// L5324
RegionGetBoundsMax(RegionPlayableMap())