BIS fnc halt: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| tkoh | |game1= tkoh | ||
|1.00 | |version1= 1.00 | ||
|game2= arma3 | |game2= arma3 | ||
Line 9: | Line 9: | ||
|gr1= Program Flow | |gr1= Program Flow | ||
|descr= Halts current function and all | |descr= Halts current function and all its parents and logs an error message. | ||
|s1= | |s1= [param1, param2, ..., param10] call [[BIS_fnc_halt]] | ||
|p1= param1: [[String]] - Logged message ([[format|formatted]]) | |p1= param1: [[String]] - Logged message ([[format|formatted]]) | ||
|p2= param2 - param10: [[Anything]] | |p2= param2 - param10: [[Anything]] | ||
|r1=[[Boolean]] | |r1= [[Boolean]] | ||
|x1= <code>["You are now supposed to be %1",[[rank]] [[player]]] [[call]] [[BIS_fnc_halt]];</code> | |x1= <code>["You are now supposed to be %1", [[rank]] [[player]]] [[call]] [[BIS_fnc_halt]];</code> | ||
|seealso= | |||
}} | }} | ||
Revision as of 23:48, 13 June 2021
Description
- Description:
- Halts current function and all its parents and logs an error message.
- Execution:
- call
- Groups:
- Program Flow
Syntax
- Syntax:
- [param1, param2, ..., param10] call BIS_fnc_halt
- Parameters:
- param1: String - Logged message (formatted)
- param2 - param10: Anything
- Return Value:
- Boolean
Examples
- Example 1:
["You are now supposed to be %1", rank player] call BIS_fnc_halt;
Additional Information
- See also:
- See also needed
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