def togglesdl(name): dicNames = { "wings": "ercaHrvstrWingsOk", "wd": "ercaHrvstrWingLeverDown", } if (name in dicNames.keys()): sdl.ToggleBoolSDL(dicNames[name]) else: print("wrong sdl name")
def togglesdl(name): dicNames = { "active": "grtzGZActive", "state": "grtzGreatZeroState", } if (name in dicNames.keys()): sdl.ToggleBoolSDL(dicNames[name]) else: print("wrong sdl name")
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")