commandMove: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| ofp | | ofp | ||
|1.00 | |1.00 | ||
|gr1= Groups | |gr1= Groups | ||
|arg= local | |arg= local | ||
|eff= global | |eff= global | ||
| Order the given unit(s) to move to the given location (via the radio). Exactly the same as [[doMove]], except this command displays a radio message. | | Order the given unit(s) to move to the given location (via the radio). Exactly the same as [[doMove]], except this command displays a radio message. | ||
| unitName '''commandMove''' position | | unitName '''commandMove''' position | ||
|p1= unitName: [[Object]] or [[Array]] | |p1= unitName: [[Object]] or [[Array]] | ||
|p2= position: [[Array]] - format [[Position]] | |p2= position: [[Array]] - format [[Position]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>_soldier1 [[commandMove]] ([[getMarkerPos]] "Marker1") </code> | |x1= <code>_soldier1 [[commandMove]] ([[getMarkerPos]] "Marker1") </code> | ||
| 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. | | 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]], [[setDestination]], [[moveTo]], [[move]], [[addWaypoint]] | | [[doMove]], [[setDestination]], [[moveTo]], [[move]], [[addWaypoint]] | ||
}} | }} |
Revision as of 00:11, 18 January 2021
Description
- Description:
- Order the given unit(s) to move to the given location (via the radio). Exactly the same as doMove, except this command displays a radio message.
- 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.
- Groups:
- Groups
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
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
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Groups
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands