Difference between revisions of "commandMove"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2") |
m (Text replacement - "| mp=" to "|mp=") |
||
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{RV|type=command |
− | |||
− | | ofp | + | | ofp |
− | |1.00 | + | |1.00 |
− | | | + | |gr1= Groups |
− | | | + | |arg= local |
− | |||
− | | | + | |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. |
− | | | + | | unitName '''commandMove''' position |
− | | | + | |p1= unitName: [[Object]] or [[Array]] |
− | | [[Nothing]] | + | |p2= position: [[Array]] - format [[Position]] |
− | + | ||
+ | | [[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. |
+ | | [[doMove]], [[setDestination]], [[moveTo]], [[move]], [[addWaypoint]] | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Scripting Commands|COMMANDMOVE]] | [[Category:Scripting Commands|COMMANDMOVE]] | ||
Line 45: | Line 33: | ||
[[Category:Scripting Commands OFP 1.96|COMMANDMOVE]] | [[Category:Scripting Commands OFP 1.96|COMMANDMOVE]] | ||
[[Category:Scripting Commands OFP 1.46|COMMANDMOVE]] | [[Category:Scripting Commands OFP 1.46|COMMANDMOVE]] | ||
− | + | {{GameCategory|arma1|Scripting Commands}} | |
− | + | {{GameCategory|arma2|Scripting Commands}} | |
− | + | {{GameCategory|arma3|Scripting Commands}} | |
− | + | {{GameCategory|tkoh|Scripting Commands}} | |
− | |||
− |
Latest revision as of 13:23, 25 January 2021
Hover & click on the images for descriptions
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.
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:
- doMovesetDestinationmoveTomoveaddWaypoint
- Groups:
- Groups
Notes
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Groups
- 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