BIS fnc taskVar: Difference between revisions
Jump to navigation
Jump to search
(page filling) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns task's variable name. |= | | Returns task's variable name. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| taskID call '''BIS_fnc_taskVar''' |= | | taskID call '''BIS_fnc_taskVar''' |SYNTAX= | ||
|p1= taskID: [[String]] - ID of the task |= | |p1= taskID: [[String]] - ID of the task |PARAMETER1= | ||
| [[String]] - Returns '''"@test"''' for a task with the variable name '''"test"'''.|= | | [[String]] - Returns '''"@test"''' for a task with the variable name '''"test"'''.|RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>"task_1" [[call]] '''BIS_fnc_taskVar''';</code> |= | |x1= <code>"task_1" [[call]] '''BIS_fnc_taskVar''';</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:34, 7 April 2019
Description
- Description:
- Returns task's variable name.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- taskID call BIS_fnc_taskVar
- Parameters:
- taskID: String - ID of the task
- Return Value:
- String - Returns "@test" for a task with the variable name "test".
Examples
- Example 1:
"task_1" call BIS_fnc_taskVar;
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