Difference between revisions of "distance"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (examples)
m
Line 9: Line 9:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Returns the distance in meters between two objects or positions. |= Description
+
| Returns the distance in meters between two [[Object]]s or [[Position]]s. |= Description
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
 
| [[Number]] <nowiki>=</nowiki> ObjectOrPosition1 '''distance''' ObjectOrPosition2 |= Syntax
 
| [[Number]] <nowiki>=</nowiki> ObjectOrPosition1 '''distance''' ObjectOrPosition2 |= Syntax
  
|p1= ObjectOrPosition : [[Object]] or [[Array]] in [[position]] format |= Parameter 1
+
|p1= ObjectOrPosition : [[Object]] or [[Position]] |= Parameter 1
  
  

Revision as of 04:05, 26 August 2007

Template:Command

Notes

Posted on Feb 14, 2007 - 12:00
Sudden Death
distance to position3D (array) doesnt work with OFP, only objects Armed Assault: position3D (array) and object works

Bottom Section