Logic Tutorial: Simple Boss

To do this logic you need:


 * Pulse Cube
 * Delay Cube
 * Random Cube

Others

 * Frost Sentry Tower
 * Boss Model
 * TNT
 * Any Gun (except sword,fire or mutant)

Boss Model

 * Place the Boss Model.


 * Place the Frost Sentry Tower into the Boss Model.

Put it in a way that does not detract from the firing of the tower.

Optional
You can hide the Frost Sentry Tower model, for this:


 * Place a Cube Model Hider and Random Cube.


 * Connect the blue trigger of the Random Cube into the red trigger of Cube Model Hider.


 * Connect the yellow trigger of the Cube Model Hider into the model of Frost Sentry Tower.

Boss Atacks

 * Place the Pulse Cube

You can find on inventory in the advanced logic tab.


 * Click with the right button mouse at the Pulse Cube and go to the settings.

The Enable Time is time of you want to the attack is on.

The Disable time is the time of you want to the attack is off.

The lower the value of the two, the lower is time to the boss will attack.


 * Place the Random Cube.


 * Put a number of the respective Delay Cube to those of boss attacks.

Example: 3 Attacks = (3x) Delay Cube.


 * Connect the blue trigger of the Random Cube into the all red triggers of Delay Cube.

Creating Attacks
The creation of the attack can be done according to the imagination of the player, can be used several items of the logical tab as well as create more advanced systems. In this case it will be demonstrated with TNT.


 * Place the  TNT.

You can find on inventory in logic tab.


 * Connect the red trigger of the TNT into the blue trigger of Delay Cube.

Explaining
The Pulse Cube will send power to the Random Cube at intervals, at each energy received the cube will randomly choose between such attacks defined by the Delay Cube, and their respective times.