setDiaryRecordText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{uc:{{PAGENAME}}}}" to "")
m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "")
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.96
|1.96


|gr1= Briefing
|gr1= Briefing


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


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


|p1= unit: [[Object]]
|p1= unit: [[Object]]
Line 15: Line 14:
|p2=[[subject, diaryRecord], [title, text]]: [[Array]]
|p2=[[subject, diaryRecord], [title, text]]: [[Array]]


| Nothing
|r1= Nothing


|x1= <code>[[player]] [[setDiaryRecordText]] [<nowiki/>["diary", _diaryRec], ["Kill all enemies."]]</code>
|x1= <code>[[player]] [[setDiaryRecordText]] [<nowiki/>["diary", _diaryRec], ["Kill all enemies."]]</code>
Line 21: Line 20:
|seealso= [[processDiaryLink]], [[createDiaryRecord]], [[createDiarySubject]], [[diarySubjectExists]]
|seealso= [[processDiaryLink]], [[createDiaryRecord]], [[createDiarySubject]], [[diarySubjectExists]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}

Revision as of 03:30, 13 June 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