taskMarkerOffset: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Bottom Section</h3>" to "")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(14 intermediate revisions by the same user 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= <sqf>_offset = taskMarkerOffset player;</sqf>


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

Latest revision as of 11: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