BIS fnc errorMsg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function
____________________________________________________________________________________________


| tkoh |= Game name
| tkoh


|1.00|= Game version
|1.00
____________________________________________________________________________________________
 
|gr1= Broken Functions


| 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}}
____________________________________________________________________________________________


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


|p1= message: [[String]] |= Parameter 1
|p1= message: [[String]]


|p2= otherParameters: [[Anything]] - to format [[format]] command |= Parameter 2
|p2= otherParameters: [[Anything]] - to format [[format]] command


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


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


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


| [[BIS_fnc_error]] |SEEALSO=
|seealso= [[BIS_fnc_error]] [[BIS_fnc_log]] [[BIS_fnc_logFormat]]
}}
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Debug|{{uc:errorMsg}}]]
[[Category:Functions|{{uc:errorMsg}}]]
[[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 01:27, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Broken Functions

Syntax

Syntax:
Syntax needed
Parameters:
message: String
otherParameters: Anything - to format format command
Return Value:
Return value needed

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 BIS_fnc_log BIS_fnc_logFormat

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