Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: KeySwitch

A collectable key that can activate a switch when collected. When it appears through any means, it will start a short appearance cutscene that will lock the game if it's not specified in the zone's CameraParam.bcam file.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0FloatSMG2False

Shadow Length: Sets the shadow drop length. Default is 1000.

    Switches

    NameGamesRequired?Description
    SW_APPEARBothFalse

    Appears when this switch is activated.

    SW_ABothTrue

    Gets activated after collecting it.

    Setup

    NameGamesRequired?DescriptionValues
    CameraBothFalse

    Used when the key appears.