exit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - ":<code>" to ": <code>")
Line 32: Line 32:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


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

Revision as of 22:52, 7 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