doTarget: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 23: Line 23:
|x1= <code>_ESoldier1 [[doTarget]] _WSoldier1;</code>
|x1= <code>_ESoldier1 [[doTarget]] _WSoldier1;</code>


| [[assignedTarget]], [[commandTarget]], [[doWatch]] [[doFire]]
|seealso= [[assignedTarget]], [[commandTarget]], [[doWatch]] [[doFire]]
}}
}}



Revision as of 00:41, 17 February 2021

Hover & click on the images for description

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:
Return value needed

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).