BIS fnc errorMsg: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (Text replacement - "\[\[Category\:Function Group\: Debug(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\] " to "") |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Function|= | {{Function|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| tkoh | | | tkoh |Game name= | ||
|1.00| | |1.00|Game version= | ||
|gr1= Broken Functions |GROUP1= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 13: | Line 15: | ||
| [message, otherParameters] call [[BIS_fnc_errorMsg]] |SYNTAX= | | [message, otherParameters] call [[BIS_fnc_errorMsg]] |SYNTAX= | ||
|p1= message: [[String]] |= | |p1= message: [[String]] |PARAMETER1= | ||
|p2= otherParameters: [[Anything]] - to format [[format]] command |= | |p2= otherParameters: [[Anything]] - to format [[format]] command |PARAMETER2= | ||
| [[Script_(Handle)|Script handle]] |RETURNVALUE= | | [[Script_(Handle)|Script handle]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>["This is an error message"] [[call]] [[BIS_fnc_errorMsg]];</code> |= | |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> |= | |x2= <code>["This is an error message: player is: %1", [[player]]] [[call]] [[BIS_fnc_errorMsg]];</code> |EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[BIS_fnc_error]] |SEEALSO= | | [[BIS_fnc_error]] [[BIS_fnc_log]] [[BIS_fnc_logFormat]] |SEEALSO= | ||
}} | }} | ||
Line 36: | Line 38: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[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
Description
- Description:
- Display error window. Template:Feature arma3
- 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