BIS fnc errorMsg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
m (Fix description)
Line 15: Line 15:
|p1= message: [[String]] |= Parameter 1
|p1= message: [[String]] |= Parameter 1


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


| [[Script_(Handle)|Script handle]] |= Return value
| [[Script_(Handle)|Script handle]] |= Return value
Line 22: Line 22:
|x1= <code>["This is an error message"] [[call]] [[BIS_fnc_errorMsg]];</code> |= Example 1
|x1= <code>["This is an error message"] [[call]] [[BIS_fnc_errorMsg]];</code> |= Example 1


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



Revision as of 08:58, 7 May 2018

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