Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: HeadLight

Creates a spotlight effect that follows the player character. The radius and the light's color can be configured.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerSMG2False

Red: The red color component. Ranges from 0 to 255 inclusive. Default is 255.

    Obj_arg1IntegerSMG2False

    Green: The green color component. Ranges from 0 to 255 inclusive. Default is 255.

      Obj_arg2IntegerSMG2False

      Blue: The blue color component. Ranges from 0 to 255 inclusive. Default is 255.

        Obj_arg3FloatSMG2False

        Alpha: The alpha channel component. Ranges from 0 to 255 inclusive. Default is 255.

          Obj_arg4FloatSMG2False

          Radius: The size of the spotlight. Default is 1000.

            Switches

            NameGamesRequired?Description
            SW_APPEARSMG2False

            Appears when this switch is activated.