BIS fnc errorMsg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *tkoh * *\| *1.([0-9]{2}) * +\|([^g]|g[^a])" to " | tkoh |1.$1 |game2= arma3 |version2= 0.50 |$2")
m (Text replacement - " \| *(\[\[Script.+) * +\|x1=" to " |r1=$1 |x1=")
Line 18: Line 18:
|p2= otherParameters: [[Anything]] - to format [[format]] command
|p2= otherParameters: [[Anything]] - to format [[format]] command


| [[Script_(Handle)|Script handle]]
|r1=[[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>

Revision as of 04:33, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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