doFollow: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
|arg= local |= Arguments in MP | |||
|eff= global |= Effects in MP | |||
____________________________________________________________________________________________ | |||
| Order the given unit to follow the given other unit (without radio messages). |= Description | |||
____________________________________________________________________________________________ | |||
''' | | unit '''doFollow''' teamleader |= Syntax | ||
|p1= unit: [[Object]] - unit that should follow teamleader |= Parameter 1 | |||
|p2= teamleader: [[Object]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>soldier1 doFollow soldier2</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
[[ | | [[commandFollow]] |= See also | ||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|DOFOLLOW]] | |||
[[Category:Scripting Commands OFP 1.96|DOFOLLOW]] | |||
[[Category:Scripting Commands OFP 1.46|DOFOLLOW]] | |||
[[Category:Scripting Commands ArmA|DOFOLLOW]] |
Revision as of 23:48, 1 August 2006
Description
- Description:
- Order the given unit to follow the given other unit (without radio messages).
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit doFollow teamleader
- Parameters:
- unit: Object - unit that should follow teamleader
- teamleader: 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