Difference between revisions of "exit"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m (Text replacement - " |game5= arma2oa |version5= 1.51" to " |game5= arma2oa |version5= 1.50")
 
(39 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Command|= Comments
+
{{RV|type=command
____________________________________________________________________________________________
 
  
| ofp |= Game name
+
|game1= ofp
 +
|version1= 1.00
  
|1.00|= Game version
+
|game2= ofpe
 +
|version2= 1.00
  
|eff= local |= Effects in MP
+
|game3= arma1
____________________________________________________________________________________________
+
|version3= 1.00
  
| Stops the execution of a [[sqs | SQS script]]. Is ignored in [[SQF | SQF Scripts]].|= Description
+
|game4= arma2
 +
|version4= 1.00
  
}}
+
|game5= arma2oa
 +
|version5= 1.50
 +
 
 +
|game6= tkoh
 +
|version6= 1.00
 +
 
 +
|game7= arma3
 +
|version7= 0.50
 +
 
 +
|gr1= Program Flow
 +
 
 +
|descr= Stops the execution of a [[SQS Syntax|SQS script]].
 +
 
 +
It is ignored in [[SQF Syntax|SQF Scripts]].
 +
 
 +
|s1= [[exit]]
  
<h3 style="display:none">Notes</h3>
+
|r1= [[Nothing]]
<dl class="command_description">
 
<!-- Note Section BEGIN -->
 
<dd class="notedate">Posted on January 12, 2007 - 00:02</dd>
 
<dt class="note">'''[[User:Kronzky|Kronzky]]'''</dt><dd class="note"><tt>exit</tt> will '''not''' stop execution of an SQF script ([http://www.kronzky.info/misc/exit.zip demo mission]).</dd>
 
<!-- Note Section END -->
 
</dl>
 
  
<h3 style="display:none">Bottom Section</h3>
+
|x1= [[SQS Syntax]]:<code>? [[not]] [[alive]] [[player]] : [[exit]]</code>
  
[[Category:Scripting Commands|EXIT]]
+
|seealso= [[exitWith]], [[Control Structures]]
[[Category:Scripting Commands OFP 1.96|EXIT]]
+
}}
[[Category:Scripting Commands OFP 1.46|EXIT]]
 
[[Category:Scripting Commands ArmA|EXIT]]
 
[[Category:Command Group: Program Flow|EXIT]]
 

Latest revision as of 22:35, 12 April 2021

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:
exitWithControl 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