taskType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 14: Line 14:
|r1= [[String]]
|r1= [[String]]


|x1= <code>_type = [[taskType]] ([[currentTask]] [[player]]);</code>
|x1= <code>_type = taskType ([[currentTask]] [[player]]);</code>


|seealso= ‎[[setSimpleTaskType]], [[taskName]], [[currentTask]], [[setSimpleTaskCustomData]], [[taskCustomData]], [[Arma 3: Task Framework#Task Overhaul|Tasks Overhaul]]
|seealso= ‎[[setSimpleTaskType]], [[taskName]], [[currentTask]], [[setSimpleTaskCustomData]], [[taskCustomData]], [[Arma 3: Task Framework#Task Overhaul|Tasks Overhaul]]
}}
}}

Revision as of 11:17, 12 May 2022

Hover & click on the images for description

Description

Description:
Returns the type of the given task. A new task returns "Default" for the type.
Groups:
Briefing

Syntax

Syntax:
taskType task
Parameters:
task: Task
Return Value:
String

Examples

Example 1:
_type = taskType (currentTask player);

Additional Information

See also:
setSimpleTaskTypetaskNamecurrentTasksetSimpleTaskCustomDatataskCustomDataTasks Overhaul

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