commandFollow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (grammar)
m (template:command argument fix)
(13 intermediate revisions by 7 users not shown)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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=
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit(s) '''commandFollow''' followedunit |= Syntax
| unitName '''commandFollow''' followedunit |SYNTAX=


|p1= unit(s): [[Object]] or [[Array]] |= Parameter 1
|p1= unitName: [[Object]] or [[Array]] |PARAMETER1=


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


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>soldier1 commandFollow soldier2</pre> |= Example 1
|x1= <pre>_soldier1 commandFollow _soldier2</pre> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[doFollow]] |= See also
| [[doFollow]] |SEEALSO=


}}
}}
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]]
Line 43: Line 44:
[[Category:Command_Group:_Groups|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Groups|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Unit_Control|{{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 15:35, 7 April 2019

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