size: Difference between revisions

From Bohemia Interactive Community
mNo edit summary
mNo edit summary
 
Line 25: Line 25:


|r1= [[Array]] with [x,y]
|r1= [[Array]] with [x,y]
* x: Number - horizontal distance in meters
* x: [[Number]] - horizontal distance in meters
* y: Number - vertical distance in meters
* y: [[Number]] - vertical distance in meters


|x1= <sqf>_locSize = size myLocation;</sqf>
|x1= <sqf>_locSize = size myLocation;</sqf>

Latest revision as of 10:01, 4 April 2026

Hover & click on the images for description

Description

Description:
Returns a location's size.
Groups:
Locations

Syntax

Syntax:
size location
Parameters:
location: Location
Return Value:
Array with [x,y]
  • x: Number - horizontal distance in meters
  • y: Number - vertical distance in meters

Examples

Example 1:
_locSize = size myLocation;

Additional Information

See also:
setSize

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note