BIS fnc errorMsg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
Line 22: Line 22:
|x1= <sqf>["This is an error message"] call BIS_fnc_errorMsg;</sqf>
|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>


|seealso= [[BIS_fnc_error]] [[BIS_fnc_log]] [[BIS_fnc_logFormat]]
|seealso= [[BIS_fnc_error]] [[BIS_fnc_log]] [[BIS_fnc_logFormat]]
}}
}}

Revision as of 21:37, 12 July 2022

Hover & click on the images for description

Description

Description:
Display error window.
Arma 3
Broken in Arma 3. Use BIS_fnc_error instead
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