taskDestination: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=")
Line 13: Line 13:
|p1= task: [[Task]]
|p1= task: [[Task]]


| [[Array]] (A3 1.28 Returns [[Nothing]] if identity is [[taskNull]])
|r1= [[Array]] (A3 1.28 Returns [[Nothing]] if identity is [[taskNull]])


|x1= <code>[[if]] (![[isNull]] [[currentTask]] [[player]]) [[then]] {[[taskDestination]] [[currentTask]][[ player]]}; //return [[Position]] ([[Array]])</code>
|x1= <code>[[if]] (![[isNull]] [[currentTask]] [[player]]) [[then]] {[[taskDestination]] [[currentTask]][[ player]]}; //return [[Position]] ([[Array]])</code>

Revision as of 14:21, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Briefing

Syntax

Syntax:
Syntax needed
Parameters:
task: Task
Return Value:
Array (A3 1.28 Returns Nothing if identity is taskNull)

Examples

Example 1:
if (!isNull currentTask player) then {taskDestination currentTaskplayer}; //return Position (Array)

Additional Information

See also:
cancelSimpleTaskDestinationsetSimpleTaskDestination

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