exit: 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 - "<code>([^\[]+)<\/code>" to "<sqf>$1</sqf>")
Line 33: Line 33:


|x1= [[SQS Syntax]]:
|x1= [[SQS Syntax]]:
<code>? not alive player : exit</code>
<sqf>? not alive player : exit</sqf>


|seealso= [[exitWith]] [[Control Structures]]
|seealso= [[exitWith]] [[Control Structures]]
}}
}}

Revision as of 21:08, 13 May 2022

Hover & click on the images for description

Description

Description:
Stops the execution of a SQS script. It is ignored in SQF Scripts.
Groups:
Program Flow

Syntax

Syntax:
exit
Return Value:
Nothing

Examples

Example 1:
SQS Syntax:
? not alive player : exit

Additional Information

See also:
exitWith Control Structures

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