setSimpleTaskType: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 9: | Line 9: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Attach type to the simple task. See [[Arma_3_Tasks_Overhaul#Default_Task_Types:_Actions|Default Task Types]]. |= | | Attach type to the simple task. See [[Arma_3_Tasks_Overhaul#Default_Task_Types:_Actions|Default Task Types]]. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| task '''setSimpleTaskType''' taskType |= | | task '''setSimpleTaskType''' taskType |SYNTAX= | ||
|p1= task: [[Task]] |= | |p1= task: [[Task]] |PARAMETER1= | ||
|p2= taskType: [[String]] - Type of task |= | |p2= taskType: [[String]] - Type of task |PARAMETER2= | ||
| Nothing |= | | Nothing |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>([[currentTask]] [[player]]) [[setSimpleTaskType]] "attack";</code> |= | |x1= <code>([[currentTask]] [[player]]) [[setSimpleTaskType]] "attack";</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:48, 7 April 2019
Description
- Description:
- Attach type to the simple task. See Default Task Types.
- Groups:
- Uncategorised
Syntax
- Syntax:
- task setSimpleTaskType taskType
- Parameters:
- task: Task
- taskType: String - Type of task
- Return Value:
- Nothing
Examples
- Example 1:
(currentTask player) setSimpleTaskType "attack";
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
[[Category:Introduced with A3 version 1.58]][[ Category: A3: New Scripting Commands | SETSIMPLETASKTYPE]][[ Category: A3: Scripting Commands | SETSIMPLETASKTYPE]]