commandFollow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Bot: Reverted to revision 84219 by kenoxite on 2014-09-25T08:51:28Z)
(17 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|COMMANDFOLLOW]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|COMMANDFOLLOW]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|COMMANDFOLLOW]]
 
[[Category:Scripting Commands ArmA|COMMANDFOLLOW]]
| ofp |= Game name
 
|1.00|= Game version


|arg= local |= Arguments in MP
____________________________________________________________________________________________


<h2 style="color:#000066"> '''commandFollow ''formationLeader'''''</h2>
| Order the given unit to follow the given other unit (via the radio). |= Description
____________________________________________________________________________________________


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


'''Operand types:'''
|p1= unitName: [[Object]] or [[Array]] |= Parameter 1


'''formationLeader:''' [[Object]]
|p2= followedunit: [[Object]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_soldier1 commandFollow _soldier2</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
| [[doFollow]] |= See also


'''Description:'''
}}


Order unit to follow given '''unit''' (via radio).
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>


soldierOne '''commandFollow''' [[player]]
[[Category:Scripting Commands|COMMANDFOLLOW]]
[[Category:Scripting Commands OFP 1.99|COMMANDFOLLOW]]
[[Category:Scripting Commands OFP 1.96|COMMANDFOLLOW]]
[[Category:Scripting Commands OFP 1.46|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