setDiaryRecordText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
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=
____________________________________________________________________________________________


| Set text of a log record. |Description=
| Set text of a log record. |Description=
____________________________________________________________________________________________


| unit [[setDiaryRecordText]] [[subject, diaryRecord], [title, text]] |Syntax=
| unit [[setDiaryRecordText]] [[subject, diaryRecord], [title, text]] |Syntax=
Line 25: Line 22:


| Nothing |Return Value=
| Nothing |Return Value=
____________________________________________________________________________________________


|x1= <code>[[player]] [[setDiaryRecordText]] [<nowiki/>["diary", _diaryRec], ["Kill all enemies."]]</code> |Example 1=
|x1= <code>[[player]] [[setDiaryRecordText]] [<nowiki/>["diary", _diaryRec], ["Kill all enemies."]]</code> |Example 1=
____________________________________________________________________________________________


| [[processDiaryLink]], [[createDiaryRecord]], [[createDiarySubject]], [[diarySubjectExists]] |See Also=
| [[processDiaryLink]], [[createDiaryRecord]], [[createDiarySubject]], [[diarySubjectExists]] |See Also=

Revision as of 03:28, 17 January 2021

Hover & click on the images for description

Description

Description:
Set text of a log record.
Groups:
Briefing

Syntax

Syntax:
unit setDiaryRecordText [[subject, diaryRecord], [title, text]]
Parameters:
unit: Object
[[subject, diaryRecord], [title, text]]: Array
Return Value:
Nothing

Examples

Example 1:
player setDiaryRecordText [["diary", _diaryRec], ["Kill all enemies."]]

Additional Information

See also:
processDiaryLinkcreateDiaryRecordcreateDiarySubjectdiarySubjectExists

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