BIS fnc errorMsg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[Script.+) * +\|x1=" to " |r1=$1 |x1=")
m (sa)
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| tkoh
|game1= tkoh
|1.00
|version1= 1.00


|game2= arma3
|game2= arma3
Line 9: Line 9:
|gr1= Broken Functions
|gr1= Broken Functions


| Display error window.
|descr= Display error window.
{{Feature|arma3|Broken in {{arma3}}. Use [[BIS_fnc_error]] instead}}
{{Feature|arma3|Broken in {{arma3}}. Use [[BIS_fnc_error]] instead}}


|s1=[message, otherParameters] call [[BIS_fnc_errorMsg]]
|s1= [message, otherParameters] call [[BIS_fnc_errorMsg]]


|p1= message: [[String]]
|p1= message: [[String]]
Line 18: Line 18:
|p2= otherParameters: [[Anything]] - to format [[format]] command
|p2= otherParameters: [[Anything]] - to format [[format]] command


|r1=[[Script_(Handle)|Script handle]]
|r1= [[Script Handle]]


|x1= <code>["This is an error message"] [[call]] [[BIS_fnc_errorMsg]];</code>
|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= <sqf>["This is an error message: player is: %1", player] call BIS_fnc_errorMsg;</sqf>


|seealso= [[BIS_fnc_error]] [[BIS_fnc_log]] [[BIS_fnc_logFormat]]
|seealso= [[BIS_fnc_error]] [[BIS_fnc_logFormat]] [[BIS_fnc_log]] [[BIS_fnc_logFormatServer]]
}}
}}
[[Category:{{Name|tkoh}}: Functions|{{uc:errorMsg}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:errorMsg}}]]

Latest revision as of 22:31, 30 December 2023

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_logFormat BIS_fnc_log BIS_fnc_logFormatServer

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