Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: GroupSwitchWatcher

A controller that activates a switch (SW_A) depending on the states of several consecutive input switches. Supported logical links are AND and OR. The first index of the input switches has to be set as SW_B and the number of total consecutive switches has to be specified by Obj_arg0.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothFalse

Number of Switches: The number of switches to be evaluated.

    Obj_arg1IntegerBothFalse

    Logical Link: Specifies how the input switches are evaluated.

    • -1: AND (all switches have to be activated)
    • 0: OR (at least one switch activated)
    Obj_arg2IntegerBothFalse

    Activation Type: How the output switch (SW_A) should be activated or deactivated.

    • -1: Activate SW_A if condition is fulfilled and kill itself
    • 0: Activate SW_A if condition is fulfilled, deactivate SW_A otherwise

    Switches

    NameGamesRequired?Description
    SW_ABothTrue

    The switch that should be activated or deactivated depending on the result.

    SW_BBothTrue

    The first index of the input switches to be evaluated.