BIS fnc errorMsg: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 8: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Display error window. | ||
{{Feature arma3|Broken in {{arma3}}. Use [[BIS_fnc_error]] instead}} |= Description | |||
____________________________________________________________________________________________ | |||
| [message, otherParameters] call [[BIS_fnc_errorMsg]] |= Syntax | |||
|p1= message: [[String]] |= Parameter 1 | |||
|p2= otherParameters: [[Anything]] - the whole [[_this]] variable will be passed to [[BIS_fnc_error]] (in {{arma3}}) |= Parameter 2 | |||
| [[Script_(Handle)|Script handle]] |= Return value | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| < | |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 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= 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 08:57, 7 May 2018
Description
- Description:
- Display error window.
- 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