BIS fnc createLogRecord: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 6: | Line 5: | ||
|1.00|= Game version | |1.00|= Game version | ||
| | |args= local |= Arguments | ||
|eff= local |= Effect | |||
____________________________________________________________________________________________ | |||
| Create a dated, timed diary record in the owner's "Log" subject. |= Description | |||
____________________________________________________________________________________________ | |||
| [owner, title, text] call [[BIS_fnc_createLogRecord]] |= Syntax | |||
|p1= owner: [[Object]] |= Parameter 1 | |||
| | |p2= title: [[String]] - (Optional, default "") |= Parameter 2 | ||
| | |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 16:29, 8 May 2018
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