BIS fnc errorMsg: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| tkoh | | tkoh | ||
|1.00 | |1.00 | ||
|gr1= Broken Functions | |gr1= Broken Functions | ||
| Display error window. | | Display error window. | ||
{{Feature|arma3|Broken in {{arma3}}. Use [[BIS_fnc_error]] instead}} | {{Feature|arma3|Broken in {{arma3}}. Use [[BIS_fnc_error]] instead}} | ||
| [message, otherParameters] call [[BIS_fnc_errorMsg]] | | [message, otherParameters] call [[BIS_fnc_errorMsg]] | ||
|p1= message: [[String]] | |p1= message: [[String]] | ||
|p2= otherParameters: [[Anything]] - to format [[format]] command | |p2= otherParameters: [[Anything]] - to format [[format]] command | ||
| [[Script_(Handle)|Script handle]] | | [[Script_(Handle)|Script handle]] | ||
|x1= <code>["This is an error message"] [[call]] [[BIS_fnc_errorMsg]];</code> | |x1= <code>["This is an error message"] [[call]] [[BIS_fnc_errorMsg]];</code> | ||
|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> | ||
| [[BIS_fnc_error]] [[BIS_fnc_log]] [[BIS_fnc_logFormat]] | | [[BIS_fnc_error]] [[BIS_fnc_log]] [[BIS_fnc_logFormat]] | ||
}} | }} | ||
Revision as of 23:01, 17 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