taskDestination: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\|gr1=([^ ]+) \|([0-9]\.[0-9]{2}) " to "|$2 |gr1= $1 ")
Line 3: Line 3:
| arma2
| arma2


|gr1= Briefing
|1.00


|1.00
|gr1=  Briefing


| Returns the position of the task (as specified by destination parameter in config).
| Returns the position of the task (as specified by destination parameter in config).

Revision as of 22:37, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Briefing

Syntax

Syntax:
taskDestination task
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