setSimpleTaskType: Difference between revisions

From Bohemia Interactive Community
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]]. |= 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=


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


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


| Nothing |= Return Value
| Nothing |RETURNVALUE=


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



Revision as of 14:48, 7 April 2019


-wrong parameter ("A3") defined!-[[:Category:Introduced with A3 version 1.58|1.58]]
Hover & click on the images for description

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

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

[[Category:Introduced with A3 version 1.58]][[ Category: A3: New Scripting Commands | SETSIMPLETASKTYPE]][[ Category: A3: Scripting Commands | SETSIMPLETASKTYPE]]

Bottom Section