Difference between revisions of "BIS fnc errorMsg"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix description)
m (Text replacement - "|= Game version" to "|Game version=")
(5 intermediate revisions by 3 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=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
 
| Display error window.
 
| Display error window.
{{Feature arma3|Broken in {{arma3}}. Use [[BIS_fnc_error]] instead}} |= Description
+
{{Feature arma3|Broken in {{arma3}}. Use [[BIS_fnc_error]] instead}} |DESCRIPTION=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [message, otherParameters] call [[BIS_fnc_errorMsg]] |= Syntax
+
| [message, otherParameters] call [[BIS_fnc_errorMsg]] |SYNTAX=
  
|p1= message: [[String]] |= Parameter 1
+
|p1= message: [[String]] |PARAMETER1=
  
|p2= otherParameters: [[Anything]] - to format [[format]] command |= Parameter 2
+
|p2= otherParameters: [[Anything]] - to format [[format]] command |PARAMETER2=
  
| [[Script_(Handle)|Script handle]] |= Return value
+
| [[Script_(Handle)|Script handle]] |RETURNVALUE=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|x1= <code>["This is an error message"] [[call]] [[BIS_fnc_errorMsg]];</code> |= Example 1
+
|x1= <code>["This is an error message"] [[call]] [[BIS_fnc_errorMsg]];</code> |EXAMPLE1=
  
|x2= <code>["This is an error message: player is: %1", [[player]]] [[call]] [[BIS_fnc_errorMsg]];</code> |= Example 2
+
|x2= <code>["This is an error message: player is: %1", [[player]]] [[call]] [[BIS_fnc_errorMsg]];</code> |EXAMPLE2=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[BIS_fnc_error]] |= See also
+
| [[BIS_fnc_error]] [[BIS_fnc_log]] [[BIS_fnc_logFormat]] |SEEALSO=
 
}}
 
}}
  

Revision as of 22:44, 30 August 2019

Introduced with Take On Helicopters version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Display error window.
Arma 3 logo black.png
Broken in Arma 3. Use BIS_fnc_error instead

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

Execution:
call
See also:
BIS_fnc_error BIS_fnc_log BIS_fnc_logFormat
Groups:
Uncategorised

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section