fVanityModeAutoDelay = 0 by pressing a certain button X
fVanityModeDelay = 0 by pressing a certain button Y
I never made a script, so is that possible? I found the following two entries at the TES CS Wiki that may be useful:
http://cs.elderscrolls.com/constwiki/index.php/SetNumericGameSetting
http://cs.elderscrolls.com/constwiki/index.php/TapKey
Now I don`t know how to stitch all of this together, but maybe you can help me or give me some hints.
The purpose of the mod is to have 3 buttons: one for switching between first and third person perspective ("R"), one for activating Vanity Mode without delay (maybe "Y") and one for activating the cinematic Vanity Mode (maybe "U").