taskName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "")
m (Some wiki formatting)
 
Line 5: Line 5:


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


|gr1= Briefing
|gr1= Briefing
Line 16: 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]]
}}
}}

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