commandMove: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "|Game version=" to "|Game version= |gr1= Groups |GROUP1=")
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| ofp |= Game name
| ofp |Game name=


|1.00|= Game version
|gr1= Groups |GROUP1=


|arg= local |= Arguments in MP


|eff= global |= Effects in MP
 
|1.00|Game version=
|gr1= Groups |GROUP1=
 
|arg= local |Multiplayer Arguments=
 
|eff= global |Multiplayer Effects=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 28: Line 33:
| 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]], [[fn_vbs_doMoveEx_(VBS2)|fn_vbs_doMoveEx]]|SEEALSO=
| [[doMove]], [[setDestination]], [[moveTo]], [[move]], [[addWaypoint]]|SEEALSO=


}}
}}
Line 45: Line 50:
[[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]]
[[Category:Scripting Commands ArmA|COMMANDMOVE]]
[[Category:Scripting Commands Armed Assault|COMMANDMOVE]]
[[Category:Command_Group:_Groups|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Groups|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 17:16, 18 September 2020

Hover & click on the images for description

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

See also:
doMovesetDestinationmoveTomoveaddWaypoint

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