switch: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
[[Category:Scripting Commands|SWITCH]] | [[Category:Scripting Commands|SWITCH]] | ||
[[Category:Scripting Commands ArmA|SWITCH]] | [[Category:Scripting Commands ArmA|SWITCH]] | ||
[[Category:Control Flows | [[Category:Armed Assault: Control Flows|SWITCH]] | ||
[[Category:Scripting Commands]] | [[Category:Scripting Commands]] | ||
{{ArmA-disclaimer}} | {{ArmA-disclaimer}} |
Revision as of 08:10, 22 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};}