Difference between revisions of "taskName"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3dev |version1= 2.03 |descr= Returns the name of the given task. |mp= |gr1= Briefing |s1= taskName task |p1= task: Task |r1= ...")
 
m (Some wiki formatting)
 
(7 intermediate revisions by 2 users 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]]
 
}}
 
}}

Latest revision as of 18: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