BIS fnc halt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *L([a-z ])" to "$1 - l$2")
 
(3 intermediate revisions by the same user not shown)
Line 13: Line 13:
|s1= [param1, param2, ..., param10] call [[BIS_fnc_halt]]
|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]]
Line 19: Line 19:
|r1= [[Boolean]]
|r1= [[Boolean]]


|x1= <code>["You are now supposed to be %1", rank player] [[call]] [[BIS_fnc_halt]];</code>
|x1= <sqf>["You are now supposed to be %1", rank player] call BIS_fnc_halt;</sqf>


|seealso=
|seealso=
}}
}}

Latest revision as of 15:38, 8 November 2023

Hover & click on the images for description

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