Difference between revisions of "doMove"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m (Position)
Line 14: Line 14:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| unit(s) '''doMove''' [[position]] |= Syntax
+
| unit(s) '''doMove''' [[Position]] |= Syntax
  
 
|p1= unit(s): [[Object]] or [[Array]] |= Parameter 1
 
|p1= unit(s): [[Object]] or [[Array]] |= Parameter 1
  
|p2= position: [[Array]] (format [[Position]])|= Parameter 2
+
|p2= [[Position}: ([[Array]])|= Parameter 2
  
 
| [[Nothing]] |= Return value
 
| [[Nothing]] |= Return value

Revision as of 04:16, 26 August 2007

{{Command|= Comments ____________________________________________________________________________________________

| ofp |= Game name

|1.00|= Game version

|arg= global |= Arguments in MP

|eff= global |= Effects in MP ____________________________________________________________________________________________

| Order the given unit(s) to move to the given position (without radio messages). |= Description ____________________________________________________________________________________________

| unit(s) doMove Position |= Syntax

|p1= unit(s): Object or Array |= Parameter 1

|p2= [[Position}: (Array)|= Parameter 2

| Nothing |= Return value ____________________________________________________________________________________________

|x1=

soldier1 doMove (position officer)

|= Example 1 |x2=

this doMove (getMarkerPos "Marker1")

|= Example 2

____________________________________________________________________________________________

| commandMove |= See also

}}

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