missileTargetPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game=
|game1= arma3
|version1= 1.92


|1.92|Game Version =(number surrounded by NO SPACES)
|gr1= Weapons


|arg= |Multiplayer Arguments =("local" or "global")
|descr= Returns a guided missile's target position.


|eff= |Multiplayer Effects =("local" or "global")
|s1= [[missileTargetPos]] munition
 
|exec=  |Multiplayer Execution =("server" or empty)
____________________________________________________________________________________________
 
| Returns a guided missile's target position. |Description=
____________________________________________________________________________________________
 
| missileTargetPos munition |Syntax=


|p1= munition: [[Object]]
|p1= munition: [[Object]]


| [[Position]] - in ASL |Return Value=
|r1= [[Array]] in format [[Position#PositionASL|PositionASL]]
____________________________________________________________________________________________


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


|mp= - |Multiplayer Behaviour=
|seealso= [[missileTarget]] [[setMissileTargetPos]] [[setMissileTarget]] [[missileState]]
 
| [[missileTarget]] [[setMissileTargetPos]] [[setMissileTarget]] |See Also=
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- For example:
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
<dt class="note">'''[[User:User Name|User Name]]'''</dt>
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
</dl>
<h3 style="display:none">Bottom Section</h3>
<!-- Appropriate categories go here -->
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 23:48, 30 June 2024

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 missileState

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