removeDiaryRecord: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game=
| arma3 |Game=
Line 13: Line 12:


|gr1= Briefing |GROUP1=
|gr1= Briefing |GROUP1=
____________________________________________________________________________________________


| Remove a log record. |Description=
| Remove a log record. |Description=
____________________________________________________________________________________________


| unit [[removeDiaryRecord]] [subject, diaryRecord] |Syntax=
| unit [[removeDiaryRecord]] [subject, diaryRecord] |Syntax=
Line 27: Line 24:


| [[Nothing]] |Return Value=
| [[Nothing]] |Return Value=
____________________________________________________________________________________________


|x1= <code>[[private]] _diaryRecord = [[player]] [[createDiaryRecord]] ["diary", ["Subject", "Text"]];
|x1= <code>[[private]] _diaryRecord = [[player]] [[createDiaryRecord]] ["diary", ["Subject", "Text"]];
{{cc|...}}
{{cc|...}}
[[player]] [[removeDiaryRecord]] ["Diary", _diaryRecord];</code> |Example 1=
[[player]] [[removeDiaryRecord]] ["Diary", _diaryRecord];</code> |Example 1=
____________________________________________________________________________________________


| [[createDiaryRecord]] |See Also=
| [[createDiaryRecord]] |See Also=

Revision as of 03:22, 17 January 2021

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

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

Bottom Section