BIS fnc errorMsg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix description)
m (template:command argument fix)
Line 8: Line 8:


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


| [message, otherParameters] call [[BIS_fnc_errorMsg]] |= Syntax
| [message, otherParameters] call [[BIS_fnc_errorMsg]] |SYNTAX=


|p1= message: [[String]] |= Parameter 1
|p1= message: [[String]] |= Parameter 1
Line 17: Line 17:
|p2= otherParameters: [[Anything]] - to format [[format]] command |= Parameter 2
|p2= otherParameters: [[Anything]] - to format [[format]] command |= Parameter 2


| [[Script_(Handle)|Script handle]] |= Return value
| [[Script_(Handle)|Script handle]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[BIS_fnc_error]] |= See also
| [[BIS_fnc_error]] |SEEALSO=
}}
}}



Revision as of 12:28, 7 April 2019

Hover & click on the images for description

Description

Description:
Display error window. Template:Feature arma3
Execution:
call
Groups:
Uncategorised

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

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

Notes

Bottom Section