removeDiaryRecord: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Multiplayer Execution =("server" or empty) " to "|Multiplayer Execution ("server" or empty)= ")
m (Fix arguments)
Line 8: Line 8:
|arg=  |Multiplayer Arguments =
|arg=  |Multiplayer Arguments =


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


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


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


|p2= [subject, diaryRecord]: [[Array]] |PARAMETER2=
|p2= subject: [[String]] |PARAMETER2=


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


|p4= diaryRecord: [[String]] |PARAMETER4=
| [[Nothing]] |Return Value=
 
| Nothing |Return Value=
____________________________________________________________________________________________
____________________________________________________________________________________________


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



Revision as of 00:40, 5 July 2020

Hover & click on the images for description

Description

Description:
Remove a log record.
Groups:
Uncategorised

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