taskMarkerOffset: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|\{*uc:{{PAGENAME}*]\]" to "")
m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "")
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command


|arma3 |= Game
|game1=arma3
|version1=1.58


|1.58|Game Version=
|gr1= Briefing


|arg=  |Multiplayer Arguments=  
|descr= Returns model space position for the task marker


|eff=  |Multiplayer Effects=
|s1= [[taskMarkerOffset]] unit


|gr1= Briefing |GROUP1=
|p1= unit: [[Object]]


| Returns model space position for the task marker |DESCRIPTION=
|r1= [[Array]] - offset in format [x, y, z]


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


|p1= unit: [[Object]] |PARAMETER1=
|seealso= [[setTaskMarkerOffset]]
 
| [[Array]] - offset in format [x, y, z] |RETURNVALUE=
 
|x1= <code>_offset = [[taskMarkerOffset]] [[player]];</code> |EXAMPLE1=
 
| [[setTaskMarkerOffset]] |SEEALSO=
}}
}}
<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