BIS fnc errorMsg: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "{{Feature arma3|" to "{{Feature|arma3|") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| tkoh |Game name= | | tkoh |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Broken Functions |GROUP1= | |gr1= Broken Functions |GROUP1= | ||
| 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= | ||
Line 20: | Line 17: | ||
| [[Script_(Handle)|Script handle]] |RETURNVALUE= | | [[Script_(Handle)|Script handle]] |RETURNVALUE= | ||
|x1= <code>["This is an error message"] [[call]] [[BIS_fnc_errorMsg]];</code> |EXAMPLE1= | |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> |EXAMPLE2= | |x2= <code>["This is an error message: player is: %1", [[player]]] [[call]] [[BIS_fnc_errorMsg]];</code> |EXAMPLE2= | ||
| [[BIS_fnc_error]] [[BIS_fnc_log]] [[BIS_fnc_logFormat]] |SEEALSO= | | [[BIS_fnc_error]] [[BIS_fnc_log]] [[BIS_fnc_logFormat]] |SEEALSO= |
Revision as of 23:12, 16 January 2021
Description
- Description:
- Display error window.
- 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