switch: Difference between revisions
| 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]] | ||
| {{ArmA-disclaimer}} | {{ArmA-disclaimer}} | ||
| ===Introduction=== | ===Introduction=== | ||
Revision as of 19:31, 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};}
