Quantcast
Channel: ZDoom
Viewing all articles
Browse latest Browse all 3391

Scripting • Re: How can I make a custom keybinding to toggle a bool cvar?

$
0
0
I have this worked out.. Jay on discord was able to walk me through it.. I was pretty close on my attempts but just didn't know about something called "toggle" lol...


High Rez Version of Chat

Basically... all I needed to do was this (for my case)

KEYCONF

Code:

alias myCommandName "toggle cvarName"
MENUDEF

Code:

Control "Option Name :  ", "myCommandName"

Statistics: Posted by aJynks — Mon Mar 10, 2025 6:37 pm



Viewing all articles
Browse latest Browse all 3391

Trending Articles