Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: RepeatBlock

A set of small blocks that start out as a normal platform and begin to move like a snake when stepped on by the player. However, if no path was assigned, it won't move at all. The total length of blocks will be (Obj_arg3 + 1) * Obj_arg2. Another RepeatBlock instance can be linked to it using GeneratorId, which ensures that all Snake Blocks move once stepped on.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerSMG2False

Block Width: The width of blocks to be created. Default is 2.

    Obj_arg1IntegerSMG2False

    Block Height: The height of blocks to be created. Default is 2.

      Obj_arg2IntegerSMG2False

      Block Depth: The depth of blocks to be created. Default is 2.

        Obj_arg3IntegerSMG2False

        Trail Factor: Specifies how long the trail of blocks to be created will be. Default is 3.

          Obj_arg4FloatSMG2False

          Movement Speed: The rate at which the blocks move. Default is 5.

            Switches

            NameGamesRequired?Description
            SW_AWAKESMG2False

            The object will become visible and resume movement when this switch is activated.

            Setup

            NameGamesRequired?Description
            RailSMG2False

            The optional path that it can move on.