BIS fnc errorMsg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - "\[\[Category\:Function Group\: Debug(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\] " to "")
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Function|Comments=
____________________________________________________________________________________________


{{Function|= Comments
| tkoh |Game name=
____________________________________________________________________________________________


| tkoh |= Game name
|1.00|Game version=


|1.00|= Game version
|gr1= Broken Functions |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Display error window.
{{Feature arma3|Broken in {{arma3}}. Use [[BIS_fnc_error]] instead}} |DESCRIPTION=
____________________________________________________________________________________________


Description:
| [message, otherParameters] call [[BIS_fnc_errorMsg]] |SYNTAX=
Display error window


Parameter(s):
|p1= message: [[String]] |PARAMETER1=
_this select 0: STRING - Formatted message
_this select n (Optional): ANY - additional parameters


Returns:
|p2= otherParameters: [[Anything]] - to format [[format]] command |PARAMETER2=
NOTHING
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [[Script_(Handle)|Script handle]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_errorMsg]]; --> |= Syntax
|x1= <code>["This is an error message"] [[call]] [[BIS_fnc_errorMsg]];</code> |EXAMPLE1=


|p1= |= Parameter 1
|x2= <code>["This is an error message: player is: %1", [[player]]] [[call]] [[BIS_fnc_errorMsg]];</code> |EXAMPLE2=
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=
| [[BIS_fnc_error]] [[BIS_fnc_log]] [[BIS_fnc_logFormat]] |SEEALSO=
____________________________________________________________________________________________
 
| |= See also
 
}}
}}


Line 46: Line 38:


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

Revision as of 17:15, 11 October 2020

Hover & click on the images for description

Description

Description:
Display error window.
Arma 3
Broken in Arma 3. Use BIS_fnc_error instead
Execution:
call
Groups:
Broken Functions

Syntax

Syntax:
[message, otherParameters] call BIS_fnc_errorMsg
Parameters:
message: String
otherParameters: Anything - to format format command
Return Value:
Script handle

Examples

Example 1:
["This is an error message"] call BIS_fnc_errorMsg;
Example 2:
["This is an error message: player is: %1", player] call BIS_fnc_errorMsg;

Additional Information

See also:
BIS_fnc_error BIS_fnc_log 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

Notes

Bottom Section