BIS fnc errorMsg: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \[\[Category:\{\{Name|[a-z0-9]+\}\}: Functions\|\{\{uc:[a-zA-Z0-9]+\}\}\]\]" to "") |
m (sa) |
||
(10 intermediate revisions by one other user not shown) | |||
Line 12: | Line 12: | ||
{{Feature|arma3|Broken in {{arma3}}. Use [[BIS_fnc_error]] instead}} | {{Feature|arma3|Broken in {{arma3}}. Use [[BIS_fnc_error]] instead}} | ||
|s1=[message, otherParameters] call [[BIS_fnc_errorMsg]] | |s1= [message, otherParameters] call [[BIS_fnc_errorMsg]] | ||
|p1= message: [[String]] | |p1= message: [[String]] | ||
Line 18: | Line 18: | ||
|p2= otherParameters: [[Anything]] - to format [[format]] command | |p2= otherParameters: [[Anything]] - to format [[format]] command | ||
|r1=[[ | |r1= [[Script Handle]] | ||
|x1= < | |x1= <sqf>["This is an error message"] call BIS_fnc_errorMsg;</sqf> | ||
|x2= < | |x2= <sqf>["This is an error message: player is: %1", player] call BIS_fnc_errorMsg;</sqf> | ||
|seealso= [[BIS_fnc_error]] [[BIS_fnc_log]] [[ | |seealso= [[BIS_fnc_error]] [[BIS_fnc_logFormat]] [[BIS_fnc_log]] [[BIS_fnc_logFormatServer]] | ||
}} | }} | ||
Latest revision as of 22:31, 30 December 2023
Description
- Description:
- Display error window.
- 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:
- Example 2:
Additional Information
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