doFollow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Fixed syntax)
Line 14: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit '''doFollow''' teamleader |= Syntax
| unit '''doFollow''' followedunit |= Syntax


|p1= unit: [[Object]] - unit that should follow teamleader |= Parameter 1
|p1= unit: [[Object]] or [[Array]] |= Parameter 1


|p2= teamleader: [[Object]] |= Parameter 2
|p2= followedunit: [[Object]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 08:39, 27 October 2006

Hover & click on the images for description

Description

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

Syntax

Syntax:
unit doFollow followedunit
Parameters:
unit: Object or Array
followedunit: 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

Bottom Section