commandFollow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?]]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofp |Game name=
| ofp |Game name=
Line 9: Line 8:


|arg= local |Multiplayer Arguments=
|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=
Line 21: Line 18:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>_soldier1 [[commandFollow]] _soldier2</code> |EXAMPLE1=
|x1= <code>_soldier1 [[commandFollow]] _soldier2</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[doFollow]], [[formationLeader]], [[formLeader]], [[isFormationLeader]], [[leader]], [[selectLeader]], [[setLeader]] |SEEALSO=
| [[doFollow]], [[formationLeader]], [[formLeader]], [[isFormationLeader]], [[leader]], [[selectLeader]], [[setLeader]] |SEEALSO=

Revision as of 00:32, 17 January 2021

Hover & click on the images for description

Description

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

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

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