taskName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|game1= arma3dev
|game1= arma3
 
|version1= 2.04
|version1= 2.03


|descr= Returns the name of the given task.
|descr= Returns the name of the given task.
|mp=


|gr1= Briefing
|gr1= Briefing
Line 17: Line 14:
|r1= [[String]] - task name
|r1= [[String]] - task name


|x1= <code>[[private]] _taskName = [[taskName]] _mytask;</code>
|x1= <sqf>private _taskName = taskName _mytask;</sqf>


|seealso= [[taskType]] [[createSimpleTask]]
|seealso= [[taskType]] [[createSimpleTask]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 17:32, 5 May 2022

Hover & click on the images for description

Description

Description:
Returns the name of the given task.
Groups:
Briefing

Syntax

Syntax:
taskName task
Parameters:
task: Task
Return Value:
String - task name

Examples

Example 1:
private _taskName = taskName _mytask;

Additional Information

See also:
taskType createSimpleTask

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