scopeName: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (errors when attempt to set different name) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Defines name of current scope. Name is visible in debugger, and name is also used as reference in some commands like [[breakOut]] and [[breakTo]]. Scope name should be defined only once per scope. Trying to set a different name on the scope that has already defined scope name will result in error. |= | | Defines name of current scope. Name is visible in debugger, and name is also used as reference in some commands like [[breakOut]] and [[breakTo]]. Scope name should be defined only once per scope. Trying to set a different name on the scope that has already defined scope name will result in error. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''scopeName''' name |= | | '''scopeName''' name |SYNTAX= | ||
|p1= name: [[String]] |= | |p1= name: [[String]] |PARAMETER1= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 25: | Line 25: | ||
}; | }; | ||
}; | }; | ||
</code> |= | </code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[breakOut]], [[breakTo]] |= | | [[breakOut]], [[breakTo]] |SEEALSO= | ||
}} | }} |
Revision as of 14:46, 7 April 2019
Description
- Description:
- Defines name of current scope. Name is visible in debugger, and name is also used as reference in some commands like breakOut and breakTo. Scope name should be defined only once per scope. Trying to set a different name on the scope that has already defined scope name will result in error.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
scopeName "main"; while {true} do { scopeName "loop1"; while {true} do { scopeName "loop2"; ... }; };
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