switch: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:


Scripting commands available in Armed Assault.
Scripting commands available in Armed Assault.
Back To [[Scripting]]





Revision as of 18:26, 21 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};}