exit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Fix)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| ofp
|game1= ofp
|version1= 1.00


|gr1= Program Flow
|game2= ofpe
|version2= 1.00
 
|game3= arma1
|version3= 1.00
 
|game4= arma2
|version4= 1.00


|1.00
|game5= arma2oa
|version5= 1.50


|eff= local
|game6= tkoh
|version6= 1.00


| Stops the execution of a [[sqs | SQS script]].
|game7= arma3
|version7= 0.50


It's ignored in [[SQF | SQF Scripts]].
|gr1= Program Flow


| '''exit'''
|descr= Stops the execution of a [[SQS Syntax|SQS script]].


| [[Nothing]]
It is ignored in [[SQF Syntax|SQF Scripts]].


|x1= exit
|s1= [[exit]]


| [[exitWith]], [[Control Structures]]
|r1= [[Nothing]]
}}


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


[[Category:Scripting Commands|EXIT]]
|seealso= [[exitWith]] [[Control Structures]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands OFP 1.96|EXIT]]
[[Category:Scripting Commands OFP 1.46|EXIT]]
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 14: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