BIS fnc errorMsg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Display error window.
{{Feature arma3|Broken in {{arma3}}. Use [[BIS_fnc_error]] instead}} |= Description
____________________________________________________________________________________________


Description:
| [message, otherParameters] call [[BIS_fnc_errorMsg]] |= Syntax
Display error window


Parameter(s):
|p1= message: [[String]] |= Parameter 1
_this select 0: STRING - Formatted message
_this select n (Optional): ANY - additional parameters


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


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [[Script_(Handle)|Script handle]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_errorMsg]]; --> |= Syntax
|x1= <code>["This is an error message"] [[call]] [[BIS_fnc_errorMsg]];</code> |= Example 1
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________


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


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


Line 50: Line 40:
[[Category:{{Name|tkoh}}: Functions|{{uc:errorMsg}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:errorMsg}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:errorMsg}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:errorMsg}}]]
[[Category:Broken_Functions]]

Revision as of 09:57, 7 May 2018

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 - the whole _this variable will be passed to BIS_fnc_error (in Arma 3)
Return Value:
Script handle

Examples

Example 1:
["This is an error message"] call BIS_fnc_errorMsg;
Example 2:
["This is an error message", 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