BIS fnc taskCurrent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (example)
m (template:command argument fix)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


|  Returns unit's current task. |= Description
|  Returns unit's current task. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit call '''BIS_fnc_taskCurrent''' |= Syntax
| unit call '''BIS_fnc_taskCurrent''' |SYNTAX=


|p1= unit: [[Object]] - Unit to be checked |= Parameter 1
|p1= unit: [[Object]] - Unit to be checked |PARAMETER1=


| [[String]] - Task ID|= Return value
| [[String]] - Task ID|RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>_currentTask = [[player]] [[call]] '''BIS_fnc_taskCurrent''';</code> |= example 1
|x1= <code>_currentTask = [[player]] [[call]] '''BIS_fnc_taskCurrent''';</code> |EXAMPLE1=


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[BIS_fnc_setTask]], [[Arma_3_Task_Framework|Task Framework]], [[Arma_3_Tasks_Overhaul|Tasks Overhaul]] |= See also
| [[BIS_fnc_setTask]], [[Arma_3_Task_Framework|Task Framework]], [[Arma_3_Tasks_Overhaul|Tasks Overhaul]] |SEEALSO=
}}
}}



Revision as of 14:33, 7 April 2019


Hover & click on the images for description

Description

Description:
Returns unit's current task.
Execution:
call
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
_currentTask = player call BIS_fnc_taskCurrent;

Additional Information

See also:
BIS_fnc_setTaskTask FrameworkTasks Overhaul

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

Notes

Bottom Section