commandFollow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fixed syntax)
m (Bot: Reverted to revision 84219 by kenoxite on 2014-09-25T08:51:28Z)
(14 intermediate revisions by 8 users not shown)
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit '''commandFollow''' followedunit |= Syntax
| unitName '''commandFollow''' followedunit |= Syntax


|p1= unit: [[Object]] or [[Array]] |= Parameter 1
|p1= unitName: [[Object]] or [[Array]] |= Parameter 1


|p2= followedunit: [[Object]] |= Parameter 2
|p2= followedunit: [[Object]] |= Parameter 2
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>soldier1 commandFollow soldier2</pre> |= Example 1
|x1= <pre>_soldier1 commandFollow _soldier2</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 38: Line 38:


[[Category:Scripting Commands|COMMANDFOLLOW]]
[[Category:Scripting Commands|COMMANDFOLLOW]]
[[Category:Scripting Commands OFP 1.99|COMMANDFOLLOW]]
[[Category:Scripting Commands OFP 1.96|COMMANDFOLLOW]]
[[Category:Scripting Commands OFP 1.96|COMMANDFOLLOW]]
[[Category:Scripting Commands OFP 1.46|COMMANDFOLLOW]]
[[Category:Scripting Commands OFP 1.46|COMMANDFOLLOW]]
[[Category:Scripting Commands ArmA|COMMANDFOLLOW]]
[[Category:Scripting Commands ArmA|COMMANDFOLLOW]]
[[Category:Command_Group:_Groups|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 18:43, 3 December 2018

Hover & click on the images for description

Description

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

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

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