|
|
Line 1: |
Line 1: |
| {{Command|= Comments
| | #REDIRECT [[Control Structures]] |
| ____________________________________________________________________________________________
| |
|
| |
|
| | arma |= Game name
| |
|
| |
| |1.00|= Game version
| |
| ____________________________________________________________________________________________
| |
|
| |
| | Optionally can set step. If you want to count down, step must be specified, and set negative. Default value is 1. |= Description
| |
| ____________________________________________________________________________________________
| |
|
| |
| | for /.../ '''step''' step |= Syntax
| |
|
| |
| |p1= for /.../: [[For Type]] |= Parameter 1
| |
|
| |
| |p2= step: [[Number]] |= Parameter 2
| |
|
| |
| | [[For Type]] |= Return value
| |
| ____________________________________________________________________________________________
| |
|
| |
| |x1= <pre>for "_x" from 20 to 10 step -2 do {..code..}</pre> |= Example 1
| |
| ____________________________________________________________________________________________
| |
|
| |
| | |= See also
| |
|
| |
| }}
| |
|
| |
| <h3 style="display:none">Notes</h3>
| |
| <dl class="command_description">
| |
| <!-- Note Section BEGIN -->
| |
|
| |
| <!-- Note Section END -->
| |
| </dl>
| |
|
| |
| <h3 style="display:none">Bottom Section</h3>
| |
| [[Category:Scripting Commands|STEP]] | | [[Category:Scripting Commands|STEP]] |
| [[Category:Scripting Commands ArmA|STEP]] | | [[Category:Scripting Commands ArmA|STEP]] |