Difference between revisions of "commandFollow"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 84219 by kenoxite on 2014-09-25T08:51:28Z)
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
 
(7 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
+
|1.00|Game version=
  
|arg= local |= Arguments in MP
+
|arg= local |Multiplayer Arguments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Order the given unit to follow the given other unit (via the radio). |= Description
+
| Order the given unit to follow the given other unit (via the radio). |DESCRIPTION=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| unitName '''commandFollow''' followedunit |= Syntax
+
| unitName '''commandFollow''' followedunit |SYNTAX=
  
|p1= unitName: [[Object]] or [[Array]] |= Parameter 1
+
|p1= unitName: [[Object]] or [[Array]] |PARAMETER1=
  
|p2= followedunit: [[Object]] |= Parameter 2
+
|p2= followedunit: [[Object]] |PARAMETER2=
  
| [[Nothing]] |= Return value
+
| [[Nothing]] |RETURNVALUE=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   
|x1= <pre>_soldier1 commandFollow _soldier2</pre> |= Example 1
+
|x1= <pre>_soldier1 commandFollow _soldier2</pre> |EXAMPLE1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[doFollow]] |= See also
+
| [[doFollow]], [[formationLeader]], [[formLeader]], [[isFormationLeader]], [[leader]], [[selectLeader]], [[setLeader]] |SEEALSO=
  
 
}}
 
}}
Line 44: Line 44:
 
[[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}}}}]]

Latest revision as of 03:08, 6 April 2020

Introduced with Operation Flashpoint version 1.001.00
Arguments 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

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section