Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: ExterminationSwitch

A controller that activates a switch once all linked and compatible objects have been killed. Individual objects can be linked to this object by setting their GeneratorId to this object's l_id. ExterminationPowerStar spawns a Power Star after killing all objects. It also uses a counter layout to keep track of killed objects.

Arguments

NameTypeGamesRequired?DescriptionValuesExclusives?
Obj_arg0IntegerSMG2False

Power Star ID: The Power Star's ID that should be spawned. If set to -1, it will automatically detect the proper Power Star to be spawned.

    • ExterminationPowerStar
    Obj_arg1IntegerSMG2False

    Activation Delay: The delay until the switch gets activated. Default is 0.

      • ExterminationSwitch
      Obj_arg2BooleanSMG2False

      Hide Counter?: If set, the counter layout will be hidden.

        • ExterminationPowerStar

        Switches

        NameGamesRequired?Description
        SW_APPEARSMG2False

        The object will appear when this switch is activated.

        SW_ASMG2False

        Activated after killing all linked objects.

        SW_AWAKESMG2False

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

        Properties

        NameGamesRequired?DescriptionExclusives?
        AppearPowerStarSMG2True

        Appears after killing all linked objects.

        • ExterminationPowerStar