BIS fnc errorMsg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
m (sa)
 
(39 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function
____________________________________________________________________________________________


| tkoh |= Game name
|game1= tkoh
|version1= 1.00


|1.00|= Game version
|game2= arma3
____________________________________________________________________________________________
|version2= 0.50


| Display error window.
|gr1= Broken Functions
{{Feature arma3|Broken in {{arma3}}. Use [[BIS_fnc_error]] instead}} |= Description
____________________________________________________________________________________________


| [message, otherParameters] call [[BIS_fnc_errorMsg]] |= Syntax
|descr= Display error window.
{{Feature|arma3|Broken in {{arma3}}. Use [[BIS_fnc_error]] instead}}


|p1= message: [[String]] |= Parameter 1
|s1= [message, otherParameters] call [[BIS_fnc_errorMsg]]


|p2= otherParameters: [[Anything]] - the whole [[_this]] variable will be passed to [[BIS_fnc_error]] (in {{arma3}}) |= Parameter 2
|p1= message: [[String]]


| [[Script_(Handle)|Script handle]] |= Return value
|p2= otherParameters: [[Anything]] - to format [[format]] command
____________________________________________________________________________________________


|x1= <code>["This is an error message"] [[call]] [[BIS_fnc_errorMsg]];</code> |= Example 1
|r1= [[Script Handle]]


|x2= <code>["This is an error message", [[player]]] [[call]] [[BIS_fnc_errorMsg]];</code> |= Example 2
|x1= <sqf>["This is an error message"] call BIS_fnc_errorMsg;</sqf>
____________________________________________________________________________________________


| [[BIS_fnc_error]] |= See also
|x2= <sqf>["This is an error message: player is: %1", player] call BIS_fnc_errorMsg;</sqf>
 
|seealso= [[BIS_fnc_error]] [[BIS_fnc_logFormat]] [[BIS_fnc_log]] [[BIS_fnc_logFormatServer]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Debug|{{uc:errorMsg}}]]
[[Category:Functions|{{uc:errorMsg}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:errorMsg}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:errorMsg}}]]
[[Category:Broken_Functions]]

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