Arma 3 Scripting

Command in Briefing

setDiaryRecordText

Also available as Markdown and JSON, or read the original wiki page.

Description

Set text of a log record.

Syntax

unit setDiaryRecordText [[subject, diaryRecord], [title, text, icon]]

Parameters:

Returns: Nothing

Examples

Example 1

player setDiaryRecordText [["diary", _diaryRec], ["Kill all enemies.", "The enemies are the bad guys. Kill them because you are the good guy."]];

See also

allDiaryRecords · processDiaryLink · createDiaryRecord · createDiarySubject · diarySubjectExists