taskMarkerOffset: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(19 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= <sqf>_offset = taskMarkerOffset player;</sqf>


|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 List}}
{{GameCategory|arma3|Scripting Commands}}
[[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