Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: 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.

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.

          Setup

          NameGamesRequired?DescriptionValues
          RailBothTrue

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

            ClippingGroupBothFalse

            Objects in this group are always clipped together.

              Properties

              NameGamesDescription
              Player2TargetableSMG2

              Can be targeted and frozen by player 2.