BIS fnc createLogRecord: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1= GUI | |gr1= GUI | ||
|arg= local |Arguments= | |arg= local |Arguments= | ||
Line 11: | Line 11: | ||
|eff= local |Effect= | |eff= local |Effect= | ||
| Create a dated, timed diary record in the owner's "Log" subject. | | Create a dated, timed diary record in the owner's "Log" subject. | ||
| [owner, title, text] call [[BIS_fnc_createLogRecord]] | | [owner, title, text] call [[BIS_fnc_createLogRecord]] | ||
|p1= owner: [[Object]] | |p1= owner: [[Object]] | ||
|p2= title: [[String]] - (Optional, default "") | |p2= title: [[String]] - (Optional, default "") | ||
|p3= text: [[String]] - (Optional, default "") | |p3= text: [[String]] - (Optional, default "") | ||
| [[String]] | | [[String]] | ||
|x1= <code><nowiki>[</nowiki>[[player]], "Title", "This is a log entry. Have fun!"] [[call]] [[BIS_fnc_createLogRecord]];</code> | |x1= <code><nowiki>[</nowiki>[[player]], "Title", "This is a log entry. Have fun!"] [[call]] [[BIS_fnc_createLogRecord]];</code> | ||
| [[createDiaryRecord]] | | [[createDiaryRecord]] | ||
}} | }} | ||
Revision as of 22:35, 17 January 2021
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