Difference between revisions of "doMove"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m (changed global to local variable to make clear the variable)
Line 14: Line 14:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| unit(s) '''doMove''' [[Position]] |= Syntax
+
|[[Object#Unit(s)|Unit(s)]] '''doMove''' [[Position]] |= Syntax
  
|p1= unit(s): [[Object]] or [[Array]] |= Parameter 1
+
|p1= [[Object#Unit(s)|Unit(s)]] |= Parameter 1
  
|p2= [[Position]]: ([[Array]])|= Parameter 2
+
|p2= [[Position]]|= Parameter 2
  
 
| [[Nothing]] |= Return value
 
| [[Nothing]] |= Return value
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   
|x1= <pre>soldier1 doMove (position officer)</pre> |= Example 1
+
|x1= <pre>_soldier1 doMove (position officer)</pre> |= Example 1
 
|x2= <pre>this doMove (getMarkerPos "Marker1")</pre> |= Example 2
 
|x2= <pre>this doMove (getMarkerPos "Marker1")</pre> |= Example 2
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________

Revision as of 09:50, 27 August 2007

Template:Command

Notes

Posted on July 3, 2007 - 14:32
Praxtor
Notes from before the conversion: If the distance between the Object and the Ia is more than 100 Meters, the command dont work, the Ia stay stoped.

Bottom Section