taskMarkerOffset: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command|=" to "{{Command|Comments=")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(22 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
____________________________________________________________________________________________


| Returns model space position for the task marker |DESCRIPTION=
|p1= unit: [[Object]]
____________________________________________________________________________________________


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


|p1= unit: [[Object]] |PARAMETER1=
|x1= <sqf>_offset = taskMarkerOffset player;</sqf>


| [[Array]] - offset in format [x, y, z] |RETURNVALUE=
|seealso= [[setTaskMarkerOffset]]
 
|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>
[[Category:Arma 3: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Briefing|{{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