switch: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
[[Category:Scripting Commands ArmA|SWITCH]] | [[Category:Scripting Commands ArmA|SWITCH]] | ||
[[Category:Armed Assault: Control Flows|SWITCH]] | [[Category:Armed Assault: Control Flows|SWITCH]] | ||
[[Category:Scripting Commands]] | [[Category:Scripting Commands|SWITCH]] | ||
{{ArmA-disclaimer}} | {{ArmA-disclaimer}} | ||
===Introduction=== | ===Introduction=== |
Revision as of 19:24, 30 July 2006
Introduction
Scripting commands available in Armed Assault.
switch exp
Operand types:
exp: Anything
Type of returned value:
Description:
Begins switch form
Example:
switch (_a) do { case 1: {block}; case 2 : {block}; default {block};}