setMissileTarget: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format)
mNo edit summary
Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>missile1 [[setMissileTarget]] tgt</code> |Example 1=
|x1= <code>missile1 [[setMissileTarget]] tank1;</code> |Example 1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 00:49, 25 June 2019

Hover & click on the images for description

Description

Description:
Sets a guided missile target. Doesn't work for all types of missiles. If target is dead, target is ignored. The target has to be inside configured missile targeting cone for command to work.
Multiplayer:
-
Groups:
Uncategorised

Syntax

Syntax:
munition setMissileTarget target
Parameters:
munition: Object
target: Object
Return Value:
Boolean - true if succeeded to set

Examples

Example 1:
missile1 setMissileTarget tank1;

Additional Information

See also:
missileTargetPos setMissileTargetPos missileTarget

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

Bottom Section