BIS fnc createLogRecord: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 6: Line 5:


|1.00|= Game version
|1.00|= Game version
____________________________________________________________________________________________


| <pre>/*
|args= local |= Arguments


Description:
|eff= local |= Effect
Create diary record in unified "Log" subject (create it when it doesn't exist yet)
____________________________________________________________________________________________


Parameter(s):
| Create a dated, timed diary record in the owner's "Log" subject. |= Description
0: OBJECT - owner
____________________________________________________________________________________________
1: STRING - title
2: STRING - text


Returns:
| [owner, title, text] call [[BIS_fnc_createLogRecord]] |= Syntax
STRING
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p1= owner: [[Object]] |= Parameter 1
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_createLogRecord]]; --> |= Syntax
|p2= title: [[String]] - (Optional, default "") |= Parameter 2


|p1= |= Parameter 1
|p3= text: [[String]] - (Optional, default "") |= Parameter 3


| |= Return value
| [[String]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| |= See also
| [[createDiaryRecord]] |= See also
 
}}
}}



Revision as of 17:29, 8 May 2018

Hover & click on the images for description

Description

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

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

Notes

Bottom Section