allDiaryRecords: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "\|branch= *dev " to "") |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 17: | Line 17: | ||
|p2= subject: [[String]] - subject | |p2= subject: [[String]] - subject | ||
|r1= [[Array]] | |r1= [[Array]] with [id, title, text, icon, task, taskState, showTitle, date, record]: | ||
* id: [[Number]] - record id | * id: [[Number]] - record id | ||
* title: [[String]] - record title | * title: [[String]] - record title | ||
Revision as of 10:16, 1 January 2026
Description
- Description:
- Returns array with all Diary Records for the given subject available to the given person. See Diary for the explanation on the available subjects and their structure.
- Groups:
- Briefing
Syntax
- Syntax:
- person allDiaryRecords subject
- Parameters:
- person: Object - unit
- subject: String - subject
- Return Value:
- Array with [id, title, text, icon, task, taskState, showTitle, date, record]:
- id: Number - record id
- title: String - record title
- text: String - record text
- icon: String - record icon
- task: Task - record task
- taskState: String - record task state
- showTitle: Boolean - true if tile is shown
- date: Array - date in format [year, month, day, hour, minute, second]
- record: Diary Record - record reference
Examples
- Example 1:
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note