Diary Record

From Bohemia Interactive Community
Revision as of 00:03, 7 February 2021 by Lou Montana (talk | contribs) (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|")
Jump to navigation Jump to search
Description:
A Diary Record is created by createDiaryRecord - introduced in Arma 2.


Before the introduction of diaryRecordNull, its value could still 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" };