taskMarkerOffset: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|=
{{RV|type=command
____________________________________________________________________________________________
 
|arma3 |= Game
|game1=arma3
|1.58|= Game Version
|version1=1.58
|arg=  |= Multiplayer Arguments
 
|eff= |= Multiplayer Effects
|gr1= Briefing
____________________________________________________________________________________________
 
| Returns model space position for the task marker |= Description
|descr= Returns model space position for the task marker
____________________________________________________________________________________________
 
| [[taskMarkerOffset]] unit |= Syntax
|s1= [[taskMarkerOffset]] unit
|p1= unit: [[Object]] |= Parameter 1
 
|p2=  |= Parameter 2
|p1= unit: [[Object]]
|p3=  |= Parameter 3
|p3=  |= Parameter 4
|p3=  |= Parameter 5
|p3=  |= Parameter 6
| [[Array]] - x, y, z |= Return Value
|x1= _offset = [[taskMarkerOffset]] [[player]]; |= Example 1
| - |= See Also
}}


<dl class='command_description'>
|r1= [[Array]] - offset in format [x, y, z]
<!-- 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>
|x1= <sqf>_offset = taskMarkerOffset player;</sqf>
<!-- Appropriate categories go here -->


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
|seealso= [[setTaskMarkerOffset]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
}}

Latest revision as of 10:25, 13 May 2022

Hover & click on the images for description

Description

Description:
Returns model space position for the task marker
Groups:
Briefing

Syntax

Syntax:
taskMarkerOffset unit
Parameters:
unit: Object
Return Value:
Array - offset in format [x, y, z]

Examples

Example 1:
_offset = taskMarkerOffset player;

Additional Information

See also:
setTaskMarkerOffset

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