setDiaryRecordText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<!-- Appropriate categories go here -->" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game=
| arma3


|1.96|Game Version (number surrounded by NO SPACES)=
|1.96


|arg=  |Multiplayer Arguments ("local" or "global")=
|arg=


|eff=  |Multiplayer Effects ("local" or "global")=
|eff=


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


|gr1= Briefing |GROUP1=
|gr1= Briefing


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


| unit [[setDiaryRecordText]] [[subject, diaryRecord], [title, text]] |Syntax=
| unit [[setDiaryRecordText]] [[subject, diaryRecord], [title, text]]


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


|p2=[[subject, diaryRecord], [title, text]]: [[Array]] |PARAMETER2=
|p2=[[subject, diaryRecord], [title, text]]: [[Array]]


| Nothing |Return Value=
| Nothing


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


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



Revision as of 11:12, 18 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