BIS fnc errorMsg: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[Script_(Handle)|" to "[[Script Handle|") |
Lou Montana (talk | contribs) m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>") |
||
Line 20: | Line 20: | ||
|r1= [[Script Handle|Script handle]] | |r1= [[Script Handle|Script handle]] | ||
|x1= < | |x1= <sqf>["This is an error message"] call BIS_fnc_errorMsg;</sqf> | ||
|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> |
Revision as of 19:03, 5 May 2022
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:
- 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