BIS fnc taskCurrent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |r1=[[" to " |r1= [[")
m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ")
Line 16: Line 16:
|r1= [[String]] - Task ID
|r1= [[String]] - Task ID


|x1= <code>_currentTask = [[player]] [[call]] [[BIS_fnc_taskCurrent]];</code>
|x1= <code>[[private]] _currentTask = [[player]] [[call]] [[BIS_fnc_taskCurrent]];</code>


|seealso=  [[Arma 3: Task Framework]]
|seealso=  [[Arma 3: Task Framework]]
}}
}}

Revision as of 13:07, 6 May 2022

Hover & click on the images for description

Description

Description:
Returns unit's current task.
See Arma 3: Task Framework for more information.
Execution:
call
Groups:
Tasks

Syntax

Syntax:
unit call BIS_fnc_taskCurrent
Parameters:
unit: Object - Unit to be checked
Return Value:
String - Task ID

Examples

Example 1:
private _currentTask = player call BIS_fnc_taskCurrent;

Additional Information

See also:
Arma 3: Task Framework

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