Workshop - Step 13

# Step 13:
Definition of a multi-switch

| Overview
| Definition

Overview

### Overview

We now want to create a really complex switch, a so-called multi-switch.

The current and the following step describe what to do. We want to open and close the door in sector 1 using a swich (multi-switch).

Definition

### Definition

Open the dialog Multi-switches and actions in the main window using the menu entries [Edit] [Multi-switches and actions].

Using the vertical scrollbar you have the possibility to create/set 64 different multi-switches. We can overwrite the first multi-switch (Action 1) with new settings.

The goal is to create multi-switch, which opens and closes a door. We change the first tab of the dialog as shown:

- We set teh internal Caption to Close and open door.
- The switch should execute two (2) actions, so please set Number of actions to 2.
- The way the switch looks can only be defined using an (pre-defined) animation. Set Switch ON/OFF. The number of phases of the animation must be the same as defined for the switch (here 2).
- Activate the checkbox Switch works several times.

And now the second tab of the dialog:

- The switch should execute two actions, so activate the first two Flags.
- The action is set as shown to Close door and Open door.

Starting the level every multi-switch remains in position #1. So if it becomes activated the first time the switch changes from position #1 to position #2 and the second action is executed. This is the reason for Open door in slot 2 and not in slot 1.

Close the dialog. We recommend to save the level this time: [File] [Save].

Back | Home | Info | Concepts | Workshop | Reference | Next