halt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also example)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| '''halt''' |= Syntax
| '''halt''' |SYNTAX=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[if]] (_displayAnError) [[then]] {[[halt]]};</code>|= Example 1
|x1= <code>[[if]] (_displayAnError) [[then]] {[[halt]]};</code>|EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}

Revision as of 14:41, 7 April 2019

-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