BIS fnc createLogRecord: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |s1=[" to " |s1= [")
m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>")
 
(3 intermediate revisions by the same user not shown)
Line 22: Line 22:
|r1= [[String]]
|r1= [[String]]


|x1= <code>[<nowiki/>[[player]], "Title", "This is a log entry. Have fun!"] [[call]] [[BIS_fnc_createLogRecord]];</code>
|x1= <sqf>[player, "Title", "This is a log entry. Have fun!"] call BIS_fnc_createLogRecord;</sqf>


|seealso= [[createDiaryRecord]]
|seealso= [[createDiaryRecord]]
}}
}}

Latest revision as of 17:00, 13 July 2022

Hover & click on the images for description

Description

Description:
Create a dated, timed diary record in the owner's "Log" subject.
Execution:
call
Groups:
GUI

Syntax

Syntax:
[owner, title, text] call BIS_fnc_createLogRecord
Parameters:
owner: Object
title: String - (Optional, default "")
text: String - (Optional, default "")
Return Value:
String

Examples

Example 1:
[player, "Title", "This is a log entry. Have fun!"] call BIS_fnc_createLogRecord;

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