Пример #1
0
def togglesdl(name):
    dicNames = {
        "wings": "ercaHrvstrWingsOk",
        "wd": "ercaHrvstrWingLeverDown",
    }
    if (name in dicNames.keys()):
        sdl.ToggleBoolSDL(dicNames[name])
    else:
        print("wrong sdl name")
Пример #2
0
def togglesdl(name):
    dicNames = {
        "active": "grtzGZActive",
        "state": "grtzGreatZeroState",
    }
    if (name in dicNames.keys()):
        sdl.ToggleBoolSDL(dicNames[name])
    else:
        print("wrong sdl name")
Пример #3
0
def togglesdl(name="lm"):
    dicNames = {
        "lm": "islmLakeLightMeterVis",
        "gh": "islmGuildHallConstructionVis",
        "tent": "islmDRCTentVis",
        "expl": "islmExplosionRun",
        "scream": "islmScreamRun",
        "tldn": "islmTeledahnLinkLibraryExteriorVis",
        "canyon": "islmCanyonConstructionVis",
        "kahlob": "islmCityBlocker17Vis",
        "kahloc": "islmKahloPubHallCollapse",
        #"mem":"MemorialImagerStartTime", #INT
        "mem": "islmMemorialImagerVis",
    }
    if (name in dicNames.keys()):
        sdl.ToggleBoolSDL(dicNames[name])
    else:
        print("wrong sdl name")