diaryRecordNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 31: Line 31:
[[if]] ([[not]] [[isNull]] _diaryRecord) [[then]] { [[hint]] "Diary record added."; };</code>
[[if]] ([[not]] [[isNull]] _diaryRecord) [[then]] { [[hint]] "Diary record added."; };</code>


| [[objNull]], [[controlNull]], [[displayNull]], [[grpNull]], [[locationNull]], [[taskNull]], [[teamMemberNull]], [[scriptNull]], [[configNull]], [[typeName]], [[isNull]]
|seealso= [[objNull]], [[controlNull]], [[displayNull]], [[grpNull]], [[locationNull]], [[taskNull]], [[teamMemberNull]], [[scriptNull]], [[configNull]], [[typeName]], [[isNull]]
}}
}}


<dl class="command_description">
<dl class="command_description">
</dl>
</dl>

Revision as of 23:43, 16 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
BriefingVariables

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:
isNull diaryRecordNull; // true
Example 2:
isNull (objNull createDiaryRecord ["Diary", ["Title", "Text"]]); // true - objNull cannot take diary records
Example 3:
str diaryRecordNull; // "No diary record"
Example 4:
private _diaryRecord = diaryRecordNull; if (damage player > 0.5) then { _diaryRecord = player createDiaryRecord ["Diary", ["Heal yourself", "Ask a medic"]]; }; if (not isNull _diaryRecord) then { hint "Diary record added."; };

Additional Information

See also:
objNullcontrolNulldisplayNullgrpNulllocationNulltaskNullteamMemberNullscriptNullconfigNulltypeNameisNull

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note