Difference between revisions of "commandMove"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m (global(?) effect on local units)
Line 6: Line 6:
 
|1.00|= Game version
 
|1.00|= Game version
  
|arg= global |= Arguments in MP
+
|arg= local |= Arguments in MP
 +
 
 +
|eff= global |= Effects in MP
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
Line 23: Line 25:
 
|x1= <pre>_soldier1 commandMove (getMarkerPos "Marker1") </pre> |= Example 1
 
|x1= <pre>_soldier1 commandMove (getMarkerPos "Marker1") </pre> |= Example 1
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 +
 +
| mp= This command is only effective when used on local units. When used on a remote unit, this command will create radio dialogue on the machine the unit is local to, but the unit will not move. |=
  
 
| [[doMove]] |= See also
 
| [[doMove]] |= See also

Revision as of 23:56, 20 February 2009

Introduced with Operation Flashpoint version 1.001.00Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network
Hover & click on the images for descriptions

Description

Description:
Order the given unit(s) to move to the given location (via the radio).
Multiplayer:
This command is only effective when used on local units. When used on a remote unit, this command will create radio dialogue on the machine the unit is local to, but the unit will not move.

Syntax

Syntax:
unitName commandMove position
Parameters:
unitName: Object or Array
position: (Array) - format Position
Return Value:
Nothing

Examples

Example 1:
_soldier1 commandMove (getMarkerPos "Marker1") 

Additional Information

See also:
doMove
Groups:
Uncategorised

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section