switch

From Bohemia Interactive Community
Revision as of 18:24, 21 July 2006 by Djura (talk | contribs)
Jump to navigation Jump to search

Template:ArmA-disclaimer

Introduction

Scripting commands available in Armed Assault.

Back To Scripting


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};}