{"name":"allDiarySubjects","title":"allDiarySubjects","type":"command","url":"https://community.bistudio.com/wiki/allDiarySubjects","revid":377670,"updated":"2026-01-02T09:02:28Z","groups":["Briefing"],"status":"ok","games":{"arma3":"2.04"},"since":"arma3 2.04","arma3_since":"2.04","locality":{"argument":"global","effect":"local"},"description":"Returns array with all Diary subjects available to the given person. See Diary for the explanation on the available subjects and their structure.","syntaxes":[{"syntax":"allDiarySubjects person","params":[{"name":"person","type":"Object","description":"unit","type_expr":"Object"}],"returns":{"type":"Array","type_expr":"Array","description":"with [name, displayName, picture, countRecords, isReadOnly, isSelected]\n- name: String - internal subject reference - displayName: String - visible name - picture: String - subject icon - countRecords: Number - number of records in this subject - isReadOnly: Boolean - whether or not the records could be added - isSelected: Boolean - true if subject is currently selected","text":"Array with [name, displayName, picture, countRecords, isReadOnly, isSelected]\n\n- name: String - internal subject reference\n- displayName: String - visible name\n- picture: String - subject icon\n- countRecords: Number - number of records in this subject\n- isReadOnly: Boolean - whether or not the records could be added\n- isSelected: Boolean - true if subject is currently selected"},"form":"unary","right":{"text":"person"}}],"examples":[{"code":["allDiarySubjects player;"]}],"see_also":["createDiarySubject","removeDiarySubject","diarySubjectExists","selectDiarySubject","setDiarySubjectPicture","allDiaryRecords","Diary"]}