Currently I place this in my config
alias am0 "am_cheat 0;rebind am1"
alias am1 "am_cheat 1;rebind am2"
alias am2 "am_cheat 2;rebind am0"
bind q am0
I was wondering if there's a more efficient method though. Like toggle, which toggles between 0 and 1. Maybe there's a toggle2 command, that cycles through 0,1,2 ? Or maybe a better name would be cycle2.
Cycling variable between 3 selections
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)