From Bohemia Interactive Community
|
|
Line 1: |
Line 1: |
| {{Command|= Comments
| | #REDIRECT [[switch do]] |
| ____________________________________________________________________________________________
| |
| | |
| | ofp |= Game name
| |
| | |
| |1.00|= Game version
| |
| ____________________________________________________________________________________________
| |
| | |
| | Begins switch form |= Description
| |
| ____________________________________________________________________________________________
| |
| | |
| | '''switch''' exp |= Syntax
| |
| | |
| |p1= exp: [[Anything]] |= Parameter 1
| |
| | |
| | [[Switch Type]] |= Return value
| |
| ____________________________________________________________________________________________
| |
|
| |
| |x1= <pre>switch (_a) do { case 1: {block}; case 2 : {block}; default {block};}</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|SWITCH]]
| |
| [[Category:Scripting Commands ArmA|SWITCH]]
| |
| [[Category:Armed Assault: Control Flows|SWITCH]]
| |
Revision as of 22:48, 10 August 2006