doTarget: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=") |
||
Line 19: | Line 19: | ||
|p2= target: [[Object]] | |p2= target: [[Object]] | ||
| [[Nothing]] | |r1=[[Nothing]] | ||
|x1= <code>_ESoldier1 [[doTarget]] _WSoldier1;</code> | |x1= <code>_ESoldier1 [[doTarget]] _WSoldier1;</code> |
Revision as of 21:15, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Unit Control
Syntax
- Syntax:
- Syntax needed
- Parameters:
- unit: Object or Array - a single unit or array of units
- target: Object
- Return Value:
- Nothing
Examples
- Example 1:
_ESoldier1 doTarget _WSoldier1;
Additional Information
- See also:
- assignedTargetcommandTargetdoWatch doFire
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
- Posted on March 28, 2017 - 08:18 (UTC)
- Joris
- Targeting may not work as expected when trying to target a unit on the same side (friendly).