setSimpleTaskType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) 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 02:27, 17 January 2021
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
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