taskCustomData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
mNo edit summary
 
(20 intermediate revisions by one other user not shown)
Line 1: Line 1:
<!-- taskCustomData -->
{{RV|type=command
{{Command|Comments=


| arma3 |Game name=
|game1= arma3
|version1= 1.58


|1.58|Game Version (number surrounded by NO SPACES)=
|gr1= Briefing


|gr1= Briefing |GROUP1=
|descr= Returns custom data attached to the local task or an empty array if there are no custom data attached.


| Returns custom data attached to the local task or an empty array if there are no custom data attached. |DESCRIPTION=
|s1= [[taskCustomData]] task


| '''taskCustomData''' task |SYNTAX=
|p1= task: [[Task]]


|p1= task: [[Task]] |PARAMETER1=
|r1= [[Array]] of string - iconPath, iconText, descriptionText


|x1= <code>_data = [[taskCustomData]] "someTask";</code> |Example 1=
|x1= <sqf>_data = taskCustomData "someTask";</sqf>


| [[Array]] of string - iconPath, iconText, descriptionText |RETURNVALUE=
|seealso= [[setSimpleTaskCustomData]] [[setSimpleTaskType]] [[taskType]] [[Arma 3: Task Framework#Task Overhaul|Tasks Overhaul]]
 
 
| [[setSimpleTaskCustomData]], [[setSimpleTaskType]], [[taskType]], [[Arma 3: Task Framework#Task Overhaul|Tasks Overhaul]] |SEEALSO=
 
|  |MPBEHAVIOUR=
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- For example:
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
<dt class="note">[[User:User Name|]]</dt>
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
</dl>
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 06:38, 27 November 2023

Hover & click on the images for description

Description

Description:
Returns custom data attached to the local task or an empty array if there are no custom data attached.
Groups:
Briefing

Syntax

Syntax:
taskCustomData task
Parameters:
task: Task
Return Value:
Array of string - iconPath, iconText, descriptionText

Examples

Example 1:
_data = taskCustomData "someTask";

Additional Information

See also:
setSimpleTaskCustomData setSimpleTaskType taskType Tasks Overhaul

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