distanceSqr: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also: distance)
Line 23: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[distance]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 02:51, 21 April 2013

Hover & click on the images for description

Description

Description:
Computes the distance square between two objects or positions.
Groups:
Uncategorised

Syntax

Syntax:
var1 distanceSqr var2
Parameters:
var1: Object or Position
var2: Object or Position
Return Value:
Number

Examples

Example 1:
player distanceSqr (leader player)

Additional Information

See also:
distance

Notes

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

Notes

Bottom Section