setSimpleTaskType: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma3 | | arma3 | ||
|1.58 | |1.58 | ||
|gr1= Briefing | |gr1= Briefing | ||
| 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]]. | ||
| task '''setSimpleTaskType''' taskType | | task '''setSimpleTaskType''' taskType | ||
|p1= task: [[Task]] | |p1= task: [[Task]] | ||
|p2= taskType: [[String]] - Type of task | |p2= taskType: [[String]] - Type of task | ||
| Nothing | | Nothing | ||
|x1= <code>([[currentTask]] [[player]]) [[setSimpleTaskType]] "attack";</code> | |x1= <code>([[currentTask]] [[player]]) [[setSimpleTaskType]] "attack";</code> | ||
| [[taskType]], [[currentTask]], [[setSimpleTaskCustomData]], [[taskCustomData]], [[Arma_3_Tasks_Overhaul#Default_Task_Types:_Actions|Default Task Types]] | | [[taskType]], [[currentTask]], [[setSimpleTaskCustomData]], [[taskCustomData]], [[Arma_3_Tasks_Overhaul#Default_Task_Types:_Actions|Default Task Types]] | ||
| | | | ||
}} | }} |
Revision as of 11:12, 18 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