Difference between revisions of "exit"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (exitWith note)
m
 
(21 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Command|= Comments
+
{{Command|Comments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| ofp |= Game name
+
| ofp |Game name=
  
|1.00|= Game version
+
|gr1= Program Flow |GROUP1=
  
|eff= local |= Effects in MP
+
|1.00|Game version=
 +
 
 +
|eff= local |Multiplayer Effects=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
 
| Stops the execution of a [[sqs | SQS script]].
 
| Stops the execution of a [[sqs | SQS script]].
  
Is ignored in [[SQF | SQF Scripts]]. Use [[exitWith]] instead.|= Description
+
It's ignored in [[SQF | SQF Scripts]].|DESCRIPTION=
 +
____________________________________________________________________________________________
 +
 
 +
| '''exit''' |SYNTAX=
 +
 
 +
| [[Nothing]] |RETURNVALUE=
 +
____________________________________________________________________________________________
 +
 
 +
|x1= exit |EXAMPLE1=
 +
____________________________________________________________________________________________
 +
 
 +
| [[exitWith]], [[Control Structures]] |SEEALSO=
  
 
}}
 
}}
Line 18: Line 31:
 
<dl class="command_description">
 
<dl class="command_description">
 
<!-- Note Section BEGIN -->
 
<!-- 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 -->
 
<!-- Note Section END -->
 
</dl>
 
</dl>
Line 26: Line 37:
  
 
[[Category:Scripting Commands|EXIT]]
 
[[Category:Scripting Commands|EXIT]]
 +
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands OFP 1.96|EXIT]]
 
[[Category:Scripting Commands OFP 1.96|EXIT]]
 
[[Category:Scripting Commands OFP 1.46|EXIT]]
 
[[Category:Scripting Commands OFP 1.46|EXIT]]
[[Category:Scripting Commands ArmA|EXIT]]
+
[[Category:Scripting Commands Armed Assault|EXIT]]
[[Category:Command Group: Program Flow|EXIT]]
+
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 12:10, 26 September 2020

Introduced with Operation Flashpoint version 1.001.00Effects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on
Hover & click on the images for descriptions

Description

Description:
Stops the execution of a SQS script. It's ignored in SQF Scripts.

Syntax

Syntax:
exit
Return Value:
Nothing

Examples

Example 1:
exit

Additional Information

See also:
exitWithControl Structures
Groups:
Program Flow

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section