doFollow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
Line 40: Line 40:


[[Category:Scripting Commands|DOFOLLOW]]
[[Category:Scripting Commands|DOFOLLOW]]
[[Category:Scripting Commands OFP 1.99|DOFOLLOW]]
[[Category:Scripting Commands OFP 1.96|DOFOLLOW]]
[[Category:Scripting Commands OFP 1.96|DOFOLLOW]]
[[Category:Scripting Commands OFP 1.46|DOFOLLOW]]
[[Category:Scripting Commands OFP 1.46|DOFOLLOW]]

Revision as of 10:07, 25 September 2014

Hover & click on the images for description

Description

Description:
Order the given unit(s) to follow the given other unit or vehicle eg (without radio messages).
Groups:
Uncategorised

Syntax

Syntax:
unitName doFollow unitName2
Parameters:
unitName: Object or Array
unitName2: Object
Return Value:
Nothing

Examples

Example 1:
_soldier1 doFollow _soldier2

Additional Information

See also:
commandFollow

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

These commands (Dofollow or CommandFollow) works only if the two units are in the same group.

Bottom Section