BIS fnc createLogRecord: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>")
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= GUI
|gr1= GUI
Line 9: Line 8:
|arg= local  
|arg= local  


|eff= local  
|eff= local


| Create a dated, timed diary record in the owner's "Log" subject.
|descr= Create a dated, timed diary record in the owner's "Log" subject.


| [owner, title, text] call [[BIS_fnc_createLogRecord]]
|s1= [owner, title, text] call [[BIS_fnc_createLogRecord]]


|p1= owner: [[Object]]
|p1= owner: [[Object]]
Line 21: Line 20:
|p3= text: [[String]] - (Optional, default "")
|p3= text: [[String]] - (Optional, default "")


| [[String]]
|r1= [[String]]


|x1= <code><nowiki>[</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>


| [[createDiaryRecord]]
|seealso= [[createDiaryRecord]]
}}
}}
[[Category:{{Name|arma3}}: Functions|{{uc:createLogRecord}}]]

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