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 (template:command argument fix)
Line 9: Line 9:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| 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]] |SEEALSO=
  
 
}}
 
}}

Revision as of 15:35, 7 April 2019

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:
doFollow
Groups:
Uncategorised

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