BIS fnc taskSetState: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
____________________________________________________________________________________________ | |||
| arma3 |Game name= | |||
|1.00|Game version= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Set a task's state. |Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [taskName, taskState, showHint] call [[BIS_fnc_taskSetState]] |Syntax= | ||
|p1= taskName: [[String]] |Parameter 1= | |||
| | |p2= taskState: [[String]] - Can be: | ||
*"CREATED" | |||
*"ASSIGNED" | |||
*"SUCCEEDED" | |||
*"FAILED" | |||
*"CANCELED" |Parameter 2= | |||
| | |p3= showHint: [[Boolean]] - (Optional, default [[true]]) [[True]] to show a hint |Parameter 3= | ||
| | | | [[Boolean]] |Return value= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1 | |x1= ["BIS_task_01","CANCELED"] [[call]] [[BIS_fnc_taskSetState]];|Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | | [[:Category:Function Group: Tasks|Task Functions]], [[Arma 3 Tasks Overhaul]] |See also= | ||
}} | |||
<h3 style="display:none">Notes</h3> | <h3 style="display:none">Notes</h3> | ||
Line 50: | Line 45: | ||
[[Category:Functions|{{uc:taskSetState}}]] | [[Category:Functions|{{uc:taskSetState}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:taskSetState}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:taskSetState}}]] | ||
Revision as of 00:20, 20 June 2018
Description
- Description:
- Set a task's state.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [taskName, taskState, showHint] call BIS_fnc_taskSetState
- Parameters:
- taskName: String
- taskState: String - Can be:
- "CREATED"
- "ASSIGNED"
- "SUCCEEDED"
- "FAILED"
- "CANCELED"
- showHint: Boolean - (Optional, default true) True to show a hint
- Return Value:
- Boolean
Examples
- Example 1:
- ["BIS_task_01","CANCELED"] call BIS_fnc_taskSetState;
Additional Information
- See also:
- Task FunctionsArma 3 Tasks 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