Diary Record: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Add diaryRecordNull workaround) |
||
Line 1: | Line 1: | ||
'''Description:'''<br> | '''Description:'''<br> | ||
A [[Diary Record]] is created by [[createDiaryRecord]]. | A [[Diary Record]] is created by [[createDiaryRecord]] - introduced in Arma 2. | ||
{{Informative | | |||
[[diaryRecordNull]] command does not exist, but its value can 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]] |
Revision as of 00:58, 5 July 2020
Description:
A Diary Record is created by createDiaryRecord - introduced in Arma 2.