Reference Manual: (offline | online) Quickstart: (offline | online)

# MultipleTransition

Function: MultipleTransition( | args)

This creates a transition that consists of one or more transitions. args must be a list of odd length, containing at least 3 elements. Odd elements of this list are considered to be displayables, while even elements are transitions. When used, this causes the first element (a displayable) to transition to the third element (a displayable), using the second element as the transition. If the fourth and fifth elements are present, a transition will occur from the third element (a displayable) to the fifth element (a displayable) using the fourth element (a transition).

There are two special values that will be recognized as displayables. False will be replaced with a displayable containing the scene before the transition, while True will be replaced with a displayable containing the scene after the transition.

## Example

    init:
        $ teleport = MultipleTransition([False, dissolve, "#fff", dissolve, False,
                                         dissolve, "#fff", dissolve,
                                         True, dissolve, "#fff", dissolve, True])

    label start:
        scene bg ship

        "I'm on my ship."

        scene bg surface
        with teleport

        "And now I'm down on the planet's surface."

Reference Manual: (offline | online) Quickstart: (offline | online)