CVARINFO
Code: Select all
nosave bool cVarName = true;
Code: Select all
Option "Text Label in Option Menu : ", "cVarName", "OnOff"
I would like to make a hotkey do I can display or hide this element on a keypress... but can not work out how. I have tried a bunch of stuff, and will post if people want, I just don't want to put a mass of "not working" stuff here and confuse the post. (KEYINFO, event, aliais, etc etc... just can't get it to work)
: TL;DR :
How do I make a custom key to toggle a cvar bool?
thanks