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 - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2") |
||
(28 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | |||
{{ | |||
| arma3 | | |game1= arma3 | ||
|version1= 1.58 | |||
| | |gr1= Briefing | ||
| | |descr= Attach type to the simple task. See [[Arma_3_Tasks_Overhaul#Default_Task_Types:_Actions|Default Task Types]]. | ||
| | |s1= task [[setSimpleTaskType]] taskType | ||
| task | |p1= task: [[Task]] | ||
| | |p2= taskType: [[String]] - type of task | ||
| | |r1= [[Nothing]] | ||
|x1= <sqf>(currentTask player) setSimpleTaskType "attack";</sqf> | |||
|x1= < | |||
|seealso= [[taskType]] [[currentTask]] [[setSimpleTaskCustomData]] [[taskCustomData]] [[Arma_3_Tasks_Overhaul#Default_Task_Types:_Actions|Default Task Types]] | |||
}} | }} | ||
Latest revision as of 15:51, 8 November 2023
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:
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