taskType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
m (Text replacement - "‎" to "")
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.58
|1.58


|gr1= Briefing
|gr1= Briefing
Line 9: Line 8:
|descr= Returns the type of the given task. A new task returns "Default" for the type.
|descr= Returns the type of the given task. A new task returns "Default" for the type.


|s1= '''taskType''' task
|s1= [[taskType]] task


|p1= task: [[Task]]
|p1= task: [[Task]]
Line 15: Line 14:
|r1= [[String]]
|r1= [[String]]


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


|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]]
}}
}}

Latest revision as of 11:54, 26 April 2023

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:
setSimpleTaskType taskName currentTask setSimpleTaskCustomData taskCustomData Tasks 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