commandMove: Difference between revisions
Jump to navigation
Jump to search
(updated) |
m (template:command argument fix) |
||
(10 intermediate revisions by 7 users not shown) | |||
Line 6: | Line 6: | ||
|1.00|= Game version | |1.00|= Game version | ||
|arg= local |= | |arg= local |Multiplayer Arguments= | ||
|eff= global |= | |eff= global |Multiplayer Effects= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Order the given unit(s) to move to the given location (via the radio). |= | | 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. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| unitName '''commandMove''' position|= | | unitName '''commandMove''' position|SYNTAX= | ||
|p1= unitName: [[Object]] or [[Array]] |= | |p1= unitName: [[Object]] or [[Array]] |PARAMETER1= | ||
|p2= position: | |p2= position: [[Array]] - format [[Position]]|PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_soldier1 [[commandMove]] ([[getMarkerPos]] "Marker1") </code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| 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]] |= | | [[doMove]], [[setDestination]], [[moveTo]], [[move]], [[addWaypoint]], [[fn_vbs_doMoveEx_(VBS2)|fn_vbs_doMoveEx]]|SEEALSO= | ||
}} | }} | ||
Line 42: | Line 42: | ||
[[Category:Scripting Commands|COMMANDMOVE]] | [[Category:Scripting Commands|COMMANDMOVE]] | ||
[[Category:Scripting Commands OFP 1.99|COMMANDMOVE]] | |||
[[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]] | ||
Line 48: | Line 49: | ||
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 12:06, 5 August 2019
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:
- Uncategorised
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
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Groups
- Command Group: Unit Control
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters