taskCustomData: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "") |
BrettMayson (talk | contribs) mNo edit summary |
||
(9 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 1.58 | |||
|1.58 | |||
|gr1= Briefing | |gr1= Briefing | ||
| Returns custom data attached to the local task or an empty array if there are no custom data attached. | |descr= Returns custom data attached to the local task or an empty array if there are no custom data attached. | ||
|s1= | |s1= [[taskCustomData]] task | ||
|p1= task: [[Task]] | |p1= task: [[Task]] | ||
| | |r1= [[Array]] of string - iconPath, iconText, descriptionText | ||
| | |x1= <sqf>_data = taskCustomData "someTask";</sqf> | ||
| [[setSimpleTaskCustomData]] | |seealso= [[setSimpleTaskCustomData]] [[setSimpleTaskType]] [[taskType]] [[Arma 3: Task Framework#Task Overhaul|Tasks Overhaul]] | ||
}} | }} |
Latest revision as of 05:38, 27 November 2023
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:
Additional Information
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