halt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(see also example)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Stops the program into a debugger. In retail version using [[halt]] results in error. |= Description
| This command was meant to break the script into debugger, however currently it doesn't do anything except displaying and logging the following error: <tt>Error Debugger breakpoint hit</tt>. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 15: Line 15:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>? _DbugWanted :halt </pre>|= Example 1
|x1= <code>[[if]] (_displayAnError) [[then]] {[[halt]]};</code>|= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[assert]] [[terminate]] |= See also


}}
}}

Revision as of 19:38, 2 October 2018

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
This command was meant to break the script into debugger, however currently it doesn't do anything except displaying and logging the following error: Error Debugger breakpoint hit.
Groups:
Uncategorised

Syntax

Syntax:
halt
Return Value:
Nothing

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 or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section