Difference between revisions of "BIS fnc error"

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 error message. |= Description
 
+
____________________________________________________________________________________________
Description:
 
Display error message
 
 
 
Parameter(s):
 
_this select 0: STRING - Formatted message
 
_this select n (Optional): ANY - additional parameters
 
 
 
Returns:
 
STRING - displayed message
 
*/
 
  
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
+
| [param1,param2,...,param10] call bis_fnc_param; |= Syntax
____________________________________________________________________________________________
 
  
| <!-- [] call [[BIS_fnc_error]]; --> |= Syntax
+
|p1= param1: [[String]] - Logged message ([[format|formatted]]). |= Parameter 1
  
|p1= |= Parameter 1
+
|p2= param2 - param10: [[Anything]] |= Parameter 2
  
| |= Return value
+
| [[Boolean]] |= Return value
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
+
 
|x1= <code></code> |=  
+
|x1= <code>["Player is too far away (%1)",[[player]] distance dude] call bis_fnc_error;</code> |= Example 1
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
Line 46: Line 34:
  
 
<h3 style="display:none">Bottom Section</h3>
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Debug|{{uc:error}}]]
+
 
[[Category:Functions|{{uc:error}}]]
+
[[Category:Take_On_Helicopters:_Functions|error]]
[[Category:{{Name|tkoh}}: Functions|{{uc:error}}]]
 
[[Category:{{Name|arma3}}: Functions|{{uc:error}}]]
 

Revision as of 15:32, 20 October 2011

Hover & click on the images for description

Description

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

Syntax

Syntax:
[param1,param2,...,param10] call bis_fnc_param;
Parameters:
param1: String - Logged message (formatted).
param2 - param10: Anything
Return Value:
Boolean

Examples

Example 1:
["Player is too far away (%1)",player distance dude] call bis_fnc_error;

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