Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: ElectricRailMoving

An electric barrier that moves on a path. It damages the player and compatible objects when touching the electricity or one of the points. The path defines its shape and it can be split into several smaller segments which also creates some gaps. It cannot be destroyed without special triggers. It can be frozen by the Orange Luma.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothFalse

Number of Segments: How many segments the fence will have. Default is 10.

    Obj_arg1FloatBothFalse

    Movement Speed: Sets the rate at which it moves on the path. Default is 10.

      Obj_arg2FloatBothFalse

      Segment Length: The length of an individual fence segment.

        Obj_arg3IntegerBothFalse

        Stack Height: The number of individual fences that make up the height. Default is 1.

          Obj_arg4IntegerBothFalse

          Model Type: Specifies what model and color frame to use. Default is 0.

          • 0: Green ElectricRailMoving
          • 1: Red ElectricRailMoving

          Switches

          NameGamesRequired?Description
          SW_ABothFalse

          If activated, the fence will disappear. The green connector points still remain, though.

          Properties

          NameGamesRequired?Description
          RailBothTrue

          Specifies the shape and points. Each path point becomes a green point.

          ClippingGroupBothFalse

          Objects in this group are always clipped together.