BIS fnc taskVar: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(page filling) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 8: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Returns task's variable name. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | taskID call '''BIS_fnc_taskVar''' |= Syntax | ||
|p1= |= Parameter 1 | |p1= taskID: [[String]] - ID of the task |= Parameter 1 | ||
| |= Return value | | [[String]] - Returns '''"@test"''' for a task with the variable name '''"test"'''.|= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>"task_1" [[call]] '''BIS_fnc_taskVar''';</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 09:45, 11 May 2018
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