switch: Difference between revisions

From Bohemia Interactive Community
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 ArmA|SWITCH]]
[[Category:Armed Assault: Control Flows|SWITCH]]
[[Category:Scripting Commands]]
[[Category:Scripting Commands]]
{{ArmA-disclaimer}}
{{ArmA-disclaimer}}

Revision as of 08:10, 22 July 2006

Template:ArmA-disclaimer

Introduction

Scripting commands available in Armed Assault.


switch exp


Operand types:

exp: Anything

Type of returned value:

Switch Type

Description:

Begins switch form


Example:

switch (_a) do { case 1: {block}; case 2 : {block}; default {block};}