BIS fnc log: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Created page with "{{Function|= Comments ____________________________________________________________________________________________ | TKOH |= Game name |1.00|= Game version ____________________...")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
(31 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function
____________________________________________________________________________________________


| TKOH |= Game name
| arma3


|1.00|= Game version
|0.50
____________________________________________________________________________________________


| Log debug message. |= Description
|gr1 = Diagnostic
____________________________________________________________________________________________


| [param1,param2,...,paramN] call bis_fnc_param; |= Syntax
| Log debug message.{{Feature|Informative|'''allowFunctionsLog''' has to be set to '''1''' in the [[description.ext]] for this function to work.}}


|p1= param1: [[Anything]] - logged value. When [[String]], it's used as [[format|formatted]] message. |= Parameter 1
| param call [[BIS_fnc_log]];


|p2= param2 - paramN: [[Anything]] |= Parameter 2
|p1= param: [[Anything]]


| [[Boolean]] |= Return value
| [[Boolean]]
____________________________________________________________________________________________
   
   
|x1= <code>["Damage: %1 / Alive: %2", [[damage]] [[player]], [[alive]] player] call bis_fnc_log;</code> |= Example 1
|x1= <code>[[diag_tickTime]] [[call]] [[BIS_fnc_log]];</code>


|x2= <code><nowiki>[</nowiki>[[daytime]], [[overcast]], [[fog]]] call bis_fnc_log;</code> |= Example 1
|x2= <code><nowiki>[</nowiki>[[daytime]], [[overcast]], [[fog]]] [[call]] [[BIS_fnc_log]];</code>
____________________________________________________________________________________________


| |= See also
|x3= <code>([[name]] [[player]]) [[call]] [[BIS_fnc_log]];</code>


|seealso= [[BIS fnc logFormat]]
}}
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>
[[Category:{{Name|tkoh}}: Functions|{{uc:log}}]]
 
[[Category:Take_On_Helicopters:_Functions|param]]

Revision as of 01:26, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
Syntax needed
Parameters:
param: Anything
Return Value:
Return value needed

Examples

Example 1:
diag_tickTime call BIS_fnc_log;
Example 2:
[daytime, overcast, fog] call BIS_fnc_log;
Example 3:
(name player) call BIS_fnc_log;

Additional Information

See also:
BIS fnc logFormat

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