setSimpleTaskType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
<!-- setSimpleTaskType -->
<!-- setSimpleTaskType -->
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.58|Game Version (number surrounded by NO SPACES)=
|1.58


|gr1= Briefing |GROUP1=
|gr1= Briefing


| 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]].


| task '''setSimpleTaskType''' taskType |SYNTAX=
| task '''setSimpleTaskType''' taskType


|p1= task: [[Task]] |PARAMETER1=
|p1= task: [[Task]]


|p2= taskType: [[String]] - Type of task |PARAMETER2=
|p2= taskType: [[String]] - Type of task


| Nothing |RETURNVALUE=
| Nothing


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


| [[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]]


| |MPBEHAVIOUR=
|


}}
}}

Revision as of 12:12, 18 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