Diary Record

From Bohemia Interactive Community
Revision as of 01:58, 5 July 2020 by Lou Montana (talk | contribs) (Add diaryRecordNull workaround)
Jump to navigation Jump to search

Description:
A Diary Record is created by createDiaryRecord - introduced in Arma 2.


diaryRecordNull command does not exist, but its value can be obtained and compared as follow: private _nullRecord = objNull createDiaryRecord []; // wrong parameters = failure to create a record = null value

private _createdRecord = player createDiaryRecord ["Diary", ["title", "description"]];
if (_createdRecord isEqualTo _nullRecord) then { hint "Failed" };