Diary Record: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Undo revision 155160 by killzone_kid (talk))
Tag: Undo
m (Some wiki formatting)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
; Description<nowiki>:</nowiki>
; Description<nowiki>:</nowiki>
: A [[Diary Record]] is created by [[createDiaryRecord]] - introduced in Arma 2.
: A [[Diary Record]] is created by [[createDiaryRecord]] - introduced in {{GameCategory|arma2|link= y}}.
 
 
{{Informative |
Before the introduction of [[diaryRecordNull]], its value could still be obtained and compared as follow:
<code>[[private]] _nullRecord {{=}} [[objNull]] [[createDiaryRecord]] []; {{cc|wrong parameters {{=}} failure to create a record {{=}} null value}}<br><br><!--
-->[[private]] _createdRecord {{=}} [[player]] [[createDiaryRecord]] ["Diary", ["title", "description"]];<br><!--
-->[[if]] (_createdRecord [[isEqualTo]] _nullRecord) [[then]] { [[hint]] "Failed" };</code>
}}




[[Category: Data Types]]
[[Category: Data Types]]

Latest revision as of 22:43, 13 May 2023

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