taskMarkerOffset: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "")
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


|arma3 |= Game
|game1=arma3
 
|version1=1.58
|1.58
 
|arg=
 
|eff=


|gr1= Briefing
|gr1= Briefing


| Returns model space position for the task marker
|descr= Returns model space position for the task marker


| [[taskMarkerOffset]] unit
|s1= [[taskMarkerOffset]] unit


|p1= unit: [[Object]]
|p1= unit: [[Object]]


| [[Array]] - offset in format [x, y, z]
|r1= [[Array]] - offset in format [x, y, z]


|x1= <code>_offset = [[taskMarkerOffset]] [[player]];</code>
|x1= <code>_offset = [[taskMarkerOffset]] [[player]];</code>


| [[setTaskMarkerOffset]]
|seealso= [[setTaskMarkerOffset]]
}}
}}
<dl class='command_description'>
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 03:34, 13 June 2021

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