Input and Output Values

As well as having Events and Triggers, certain blocks also have Input and Output values.

These can be used for more advanced logic, such as checking that the player has a certain ability before doing something.

In this example, the game will perform different actions based on whether the player has the Faydown Cloak (double jump) power up.

When the lever is pulled, the If statement is activated.

If its Check input is True, the True event is called. If it is False, the False event is called.

The PlayerData Control checks if the player has the double jump, and the Not gate inverts that value, meaning Check will be True when the player does not have the ability, and False when they do.

The Process category contains several different blocks with value outputs, allowing for storing variables, comparing values, performing mathematical operations and generating random values.

Last updated