BIS fnc logFormat: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{ *codecomment *\| *\/\/ *([^ ]+) *\}\} " to "{{cc|$1}}") |
||
Line 18: | Line 18: | ||
|x1= <code>["My logged name: %1, My position: %2", name player, getPos player] call BIS_fnc_logFormat; | |x1= <code>["My logged name: %1, My position: %2", name player, getPos player] call BIS_fnc_logFormat; | ||
{{ | {{cc| RPT output:}}{{codecomment|// 12:34:56 "BIS_fnc_log: [BIS_fnc_debugConsoleExec] My logged name: Miller, My position: [4866.73,21947.9,0.00143433]"}}</code> | ||
{{codecomment|// 12:34:56 "BIS_fnc_log: [BIS_fnc_debugConsoleExec] My logged name: Miller, My position: [4866.73,21947.9,0.00143433]"}}</code> | |||
| [[BIS_fnc_log]] | | [[BIS_fnc_log]] |
Revision as of 16:27, 29 January 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Diagnostic
Syntax
- Syntax:
- Syntax needed
- Parameters:
- Text: String - Formatted message or first param
- Parameters: Any values - Optional, additional parameters
- Return Value:
- Return value needed
Examples
- Example 1:
["My logged name: %1, My position: %2", name player, getPos player] call BIS_fnc_logFormat; // RPT output:// 12:34:56 "BIS_fnc_log: [BIS_fnc_debugConsoleExec] My logged name: Miller, My position: [4866.73,21947.9,0.00143433]"
Additional Information
- See also:
- See also needed
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