missileTargetPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game=
| arma3 |Game=
Line 13: Line 12:


|gr1= Weapons  |GROUP1=
|gr1= Weapons  |GROUP1=
____________________________________________________________________________________________


| Returns a guided missile's target position. |Description=
| Returns a guided missile's target position. |Description=
____________________________________________________________________________________________


| [[missileTargetPos]] munition |Syntax=
| [[missileTargetPos]] munition |Syntax=
Line 23: Line 20:


| [[Array]] - position in format [[PositionASL]] |Return Value=
| [[Array]] - position in format [[PositionASL]] |Return Value=
____________________________________________________________________________________________


|x1= <code>_pos = [[missileTargetPos]] missile1;</code> |Example 1=
|x1= <code>_pos = [[missileTargetPos]] missile1;</code> |Example 1=
____________________________________________________________________________________________


| [[missileTarget]], [[setMissileTargetPos]], [[setMissileTarget]] |See Also=
| [[missileTarget]], [[setMissileTargetPos]], [[setMissileTarget]] |See Also=

Revision as of 03:00, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns a guided missile's target position.
Groups:
Weapons

Syntax

Syntax:
missileTargetPos munition
Parameters:
munition: Object
Return Value:
Array - position in format PositionASL

Examples

Example 1:
_pos = missileTargetPos missile1;

Additional Information

See also:
missileTargetsetMissileTargetPossetMissileTarget

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