setSimpleTaskType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
<!-- setSimpleTaskType -->
<!-- setSimpleTaskType -->
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 8: Line 7:


|gr1= Briefing |GROUP1=
|gr1= Briefing |GROUP1=
____________________________________________________________________________________________


| Attach type to the simple task. See [[Arma_3_Tasks_Overhaul#Default_Task_Types:_Actions|Default Task Types]]. |DESCRIPTION=
| Attach type to the simple task. See [[Arma_3_Tasks_Overhaul#Default_Task_Types:_Actions|Default Task Types]]. |DESCRIPTION=
____________________________________________________________________________________________


| task '''setSimpleTaskType''' taskType |SYNTAX=
| task '''setSimpleTaskType''' taskType |SYNTAX=
Line 21: Line 18:
| Nothing |RETURNVALUE=
| Nothing |RETURNVALUE=


____________________________________________________________________________________________
   
   
|x1= <code>([[currentTask]] [[player]]) [[setSimpleTaskType]] "attack";</code> |EXAMPLE1=
|x1= <code>([[currentTask]] [[player]]) [[setSimpleTaskType]] "attack";</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[taskType]], [[currentTask]], [[setSimpleTaskCustomData]], [[taskCustomData]], [[Arma_3_Tasks_Overhaul#Default_Task_Types:_Actions|Default Task Types]] |SEEALSO=  
| [[taskType]], [[currentTask]], [[setSimpleTaskCustomData]], [[taskCustomData]], [[Arma_3_Tasks_Overhaul#Default_Task_Types:_Actions|Default Task Types]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________


}}
}}

Revision as of 03:27, 17 January 2021


Hover & click on the images for description

Description

Description:
Attach type to the simple task. See Default Task Types.
Groups:
Briefing

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

See also:
taskTypecurrentTasksetSimpleTaskCustomDatataskCustomDataDefault Task Types

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

Bottom Section