halt: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2")
m (Text replacement - "[ \t]+↵" to " ")
 
Line 22: Line 22:
|descr= This command was meant to break the script into debugger, however currently '''it does not do anything''' except displaying and logging the following error: {{hl|Error Debugger breakpoint hit}}.
|descr= This command was meant to break the script into debugger, however currently '''it does not do anything''' except displaying and logging the following error: {{hl|Error Debugger breakpoint hit}}.


|s1= [[halt]]  
|s1= [[halt]]


|r1= [[Boolean]] - always returns [[false]]
|r1= [[Boolean]] - always returns [[false]]

Latest revision as of 20:48, 19 January 2026

Hover & click on the images for description

Description

Description:
This command was meant to break the script into debugger, however currently it does not do anything except displaying and logging the following error: Error Debugger breakpoint hit.
Groups:
Program FlowBroken Commands

Syntax

Syntax:
halt
Return Value:
Boolean - always returns false

Examples

Example 1:
if (_displayAnError) then {halt};

Additional Information

See also:
assert terminate

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note