BIS fnc taskCurrent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(example 1)
(page filling)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Returns unit's current task. |= Description
Description:
Return a unit's current task.
Parameters:
0: OBJECT - Unit to check
Returns:
STRING - current task ID
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_taskCurrent]]; --> |= Syntax
| unit call '''BIS_fnc_taskCurrent''' |= Syntax


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


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


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


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



Revision as of 10:38, 11 May 2018


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