Difference between revisions of "taskName"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Some wiki formatting)
 
(3 intermediate revisions by the same user not shown)
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]]
 
}}
 
}}
 
 
{{GameCategory|arma3|Scripting Commands}}
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 

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