BIS fnc errorMsg: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 13: | Line 13: | ||
| [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= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:29, 7 April 2019
Description
- Description:
- Display error window.
- Execution:
- call
- Groups:
- Uncategorised
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
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