diaryRecordNull: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <dl class="command_description"> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=") |
||
Line 16: | Line 16: | ||
| [[diaryRecordNull]] | | [[diaryRecordNull]] | ||
| [[Diary Record]] | |r1=[[Diary Record]] | ||
|x1= <code>[[isNull]] [[diaryRecordNull]]; {{cc|true}}</code> | |x1= <code>[[isNull]] [[diaryRecordNull]]; {{cc|true}}</code> |
Revision as of 21:14, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- BriefingVariables
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Diary Record
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