BIS fnc taskCurrent: Difference between revisions
Jump to navigation
Jump to search
m (example) |
m (template:command argument fix) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns unit's current task. |= | | Returns unit's current task. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| unit call '''BIS_fnc_taskCurrent''' |= | | unit call '''BIS_fnc_taskCurrent''' |SYNTAX= | ||
|p1= unit: [[Object]] - Unit to be checked |= | |p1= unit: [[Object]] - Unit to be checked |PARAMETER1= | ||
| [[String]] - Task ID|= | | [[String]] - Task ID|RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_currentTask = [[player]] [[call]] '''BIS_fnc_taskCurrent''';</code> |= | |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]] |= | | [[BIS_fnc_setTask]], [[Arma_3_Task_Framework|Task Framework]], [[Arma_3_Tasks_Overhaul|Tasks Overhaul]] |SEEALSO= | ||
}} | }} | ||
Revision as of 14:33, 7 April 2019
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
Additional Information
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