halt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma1 |Game name=
| arma1


|1.00|Game version=
|1.00


|gr1= Program Flow |GROUP1=
|gr1= Program Flow


|gr2= Broken Commands |GROUP2=
|gr2= Broken Commands


| 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>.


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


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


| [[assert]] [[terminate]] |SEEALSO=
| [[assert]] [[terminate]]


}}
}}

Revision as of 00:41, 18 January 2021

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:
Program FlowBroken Commands

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

Bottom Section