exit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Fix)
 
(4 intermediate revisions by the same user not shown)
Line 33: Line 33:


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


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

Latest revision as of 13:29, 29 July 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:

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