BIS fnc log: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Created page with "{{Function|= Comments ____________________________________________________________________________________________ | TKOH |= Game name |1.00|= Game version ____________________...")
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| tkoh |= Game name
| TKOH |= Game name


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


| <pre>/*
| Log debug message. |= Description
____________________________________________________________________________________________


Description:
| [param1,param2,...,paramN] call bis_fnc_param; |= Syntax
Display debug message


Parameter(s):
|p1= param1: [[Anything]] - logged value. When [[String]], it's used as [[format|formatted]] message. |= Parameter 1
_this select 0: STRING - Formatted message or first param
_this select n (Optional): ANY - additional parameters


Returns:
|p2= param2 - paramN: [[Anything]] |= Parameter 2
BOOL - true when done
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [[Boolean]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
 
|x1= <code>["Damage: %1 / Alive: %2", [[damage]] [[player]], [[alive]] player] call bis_fnc_log;</code> |= Example 1


| <!-- [] call [[BIS_fnc_log]]; --> |= Syntax
|x2= <code><nowiki>[</nowiki>[[daytime]], [[overcast]], [[fog]]] call bis_fnc_log;</code> |= Example 1
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=  
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 46: Line 36:


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

Revision as of 15:29, 20 October 2011

Hover & click on the images for description

Description

Description:
Log debug message.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[param1,param2,...,paramN] call bis_fnc_param;
Parameters:
param1: Anything - logged value. When String, it's used as formatted message.
param2 - paramN: Anything
Return Value:
Boolean

Examples

Example 1:
["Damage: %1 / Alive: %2", damage player, alive player] call bis_fnc_log;
Example 2:
[daytime, overcast, fog] call bis_fnc_log;

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

Notes

Bottom Section