Difference between revisions of "commandFollow"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "\[\[Category\: ?Command[ _]Group\:.*\|\{\{uc\:\{\{PAGENAME\}\}\}\}\]\] " to "")
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
+
{{Command|Comments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| ofp |= Game name
+
| ofp |Game name=
  
|1.00|= Game version
+
|1.00|Game version=
  
|arg= local |= Arguments in MP
+
|gr1= Unit Control |GROUP1=
 +
 
 +
|arg= local |Multiplayer Arguments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
Line 21: Line 23:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   
|x1= <pre>_soldier1 commandFollow _soldier2</pre> |EXAMPLE1=
+
|x1= <code>_soldier1 [[commandFollow]] _soldier2</code> |EXAMPLE1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[doFollow]] |SEEALSO=
+
| [[doFollow]], [[formationLeader]], [[formLeader]], [[isFormationLeader]], [[leader]], [[selectLeader]], [[setLeader]] |SEEALSO=
  
 
}}
 
}}
Line 41: Line 43:
 
[[Category:Scripting Commands OFP 1.96|COMMANDFOLLOW]]
 
[[Category:Scripting Commands OFP 1.96|COMMANDFOLLOW]]
 
[[Category:Scripting Commands OFP 1.46|COMMANDFOLLOW]]
 
[[Category:Scripting Commands OFP 1.46|COMMANDFOLLOW]]
[[Category:Scripting Commands ArmA|COMMANDFOLLOW]]
+
[[Category:Scripting Commands Armed Assault|COMMANDFOLLOW]]
[[Category:Command_Group:_Groups|{{uc:{{PAGENAME}}}}]]
+
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands ArmA2|{{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}}}}]]

Latest revision as of 13:26, 25 September 2020

Introduced with Operation Flashpoint version 1.001.00Arguments of this scripting command have to be local to the client the command is executed on
Hover & click on the images for descriptions

Description

Description:
Order the given unit to follow the given other unit (via the radio).

Syntax

Syntax:
unitName commandFollow followedunit
Parameters:
unitName: Object or Array
followedunit: Object
Return Value:
Nothing

Examples

Example 1:
_soldier1 commandFollow _soldier2

Additional Information

See also:
doFollowformationLeaderformLeaderisFormationLeaderleaderselectLeadersetLeader
Groups:
Unit Control

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