removeDiaryRecord: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game=
| arma3


|1.96|Game Version =
|1.96


|arg=  |Multiplayer Arguments =
|arg=


|eff= local |Multiplayer Effects =
|eff= local


|serverExec= |Multiplayer Execution ("server" or empty)=
|serverExec=


|gr1= Briefing |GROUP1=
|gr1= Briefing


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


| unit [[removeDiaryRecord]] [subject, diaryRecord] |Syntax=
| unit [[removeDiaryRecord]] [subject, diaryRecord]


|p1= unit: [[Object]] |PARAMETER1=
|p1= unit: [[Object]]


|p2= subject: [[String]] |PARAMETER2=
|p2= subject: [[String]]


|p3= diaryRecord: [[Diary Record]] |PARAMETER3=
|p3= diaryRecord: [[Diary Record]]


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


|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>


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



Revision as of 02:26, 18 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