exit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Fix)
 
(62 intermediate revisions by 13 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|E]]
{{RV|type=command
[[Category:Scripting Commands OFP 1.97|E]]
[[Category:Scripting Commands OFP 1.46|E]]
[[Category:Scripting Commands ArmA|E]]


back to [[Scripting_Reference#E|COMREF]]
|game1= ofp
|version1= 1.00


<h2 style="color:#000066">'''exit'''</h2>
|game2= ofpe
|version2= 1.00


|game3= arma1
|version3= 1.00


'''Operand types:'''
|game4= arma2
|version4= 1.00


None
|game5= arma2oa
|version5= 1.50


'''Type of returned value:'''
|game6= tkoh
|version6= 1.00


[[Nothing]]
|game7= arma3
|version7= 0.50


'''Description:'''
|gr1= Program Flow


Exit script.
|descr= Stops the execution of a [[SQS Syntax|SQS script]].
 
It is ignored in [[SQF Syntax|SQF Scripts]].
 
|s1= [[exit]]
 
|r1= [[Nothing]]
 
|x1= [[SQS Syntax]]:
<sqs>? not alive player : exit</sqs>
 
|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