breakOut: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *A([a-z ])" to "$1 - a$2") |
||
Line 32: | Line 32: | ||
|s2since= arma3 1.48 | |s2since= arma3 1.48 | ||
|p21= value: [[Anything]] - | |p21= value: [[Anything]] - a value to return | ||
|p22= name: [[String]] - Name of the scope which was previously set with [[scopeName]]. <sqf inline>""</sqf> will exit the current scope (see also [[exitWith]]) | |p22= name: [[String]] - Name of the scope which was previously set with [[scopeName]]. <sqf inline>""</sqf> will exit the current scope (see also [[exitWith]]) |
Revision as of 15:23, 8 November 2023
Description
- Description:
- Breaks out of the scope with given name.
- Groups:
- Program Flow
Syntax
- Syntax:
- breakOut name
- Parameters:
- name: String - Name of the scope which was previously set with scopeName. "" will exit the current scope (see also exitWith)
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- value breakOut name
- Parameters:
- value: Anything - a value to return
- name: String - Name of the scope which was previously set with scopeName. "" will exit the current scope (see also exitWith)
- Return Value:
- Anything - Will return value
Examples
- Example 1:
- Example 2:
- Example 3:
Additional Information
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
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Program Flow