taskName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |game1= arma3dev |version1= 2.03" to " |game1= arma3 |version1= 2.04")
m (Some wiki formatting)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 2.04
|version1= 2.04


|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