removeDiaryRecord: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Some wiki formatting)
 
Line 21: Line 21:


|x1= <sqf>
|x1= <sqf>
private _diaryRecord = player createDiaryRecord ["diary", ["Subject", "Text"]];
private _diaryRecord = player createDiaryRecord ["Diary", ["Subject", "Text"]];
// ...
// ...
player removeDiaryRecord ["Diary", _diaryRecord];
player removeDiaryRecord ["Diary", _diaryRecord];

Latest revision as of 17:17, 10 May 2023

Hover & click on the images for description

Description

Description:
Remove a log record.
Groups:
Briefing

Syntax

Syntax:
unit removeDiaryRecord [subject, diaryRecord]
Parameters:
unit: Object
subject: String
diaryRecord: Diary Record
Return Value:
Nothing

Examples

Example 1:
private _diaryRecord = player createDiaryRecord ["Diary", ["Subject", "Text"]]; // ... player removeDiaryRecord ["Diary", _diaryRecord];

Additional Information

See also:
createDiaryRecord removeDiarySubject

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