missileTargetPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Some wiki formatting)
Line 12: Line 12:
|p1= munition: [[Object]]
|p1= munition: [[Object]]


|r1= [[Array]] - position in format [[Position#PositionASL|PositionASL]]
|r1= [[Array]] in format [[Position#PositionASL|PositionASL]]


|x1= <code>_pos = [[missileTargetPos]] missile1;</code>
|x1= <sqf>private _targetDistance = vehicle player distance missileTargetPos missile1;</sqf>


|seealso= [[missileTarget]] [[setMissileTargetPos]] [[setMissileTarget]]
|seealso= [[missileTarget]] [[setMissileTargetPos]] [[setMissileTarget]]
}}
}}

Revision as of 19:25, 3 May 2022

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 in format PositionASL

Examples

Example 1:
private _targetDistance = vehicle player distance missileTargetPos missile1;

Additional Information

See also:
missileTarget setMissileTargetPos setMissileTarget

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