taskMarkerOffset: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{RV\|type=command \|([^ g]{2}.+) \|(.+) \|gr1=(.+) \|(.+) \|(.+) \|p1=(.+) \|(.+) \|x1=(.+) \|seealso=(.+) \}\}" to "{{RV|type=command |game1=$1 |version1=$2 |gr1=$3 |descr=$4 |s1=$5 |p1=$6 |r1=$7 |x1=$8 |seealso...)
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(4 intermediate revisions by the same user not shown)
Line 14: Line 14:
|r1= [[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>


|seealso= [[setTaskMarkerOffset]]
|seealso= [[setTaskMarkerOffset]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

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