Adding custom Validation rules for Variables
@vikpe ,
Do we have any similar command that has this functionality? So a toggle without parameters, but a direct set with parameters. I am not sure...
Would that be an option to define 2 new commands:
- autotrackoff, to toggle it off
- autotrackon, to toggle it on
Additionally, there are actually 3 commands in KTX:
- 'autotrack'
- 'autotrackktx'
- 'auto_pow'
and there is a command in ezquake as well: autotrack
So which of these we want to 'force off/on'?
@tcsabina for /autotrack
I think it would make most sense to allow usage as I suggested.
@vikpe for demos / QTV you can use mvd_autotrack 1. Don't think there is such a thing for spec. @tcsabina there are quite a few commands with this type of functionality, e.g. "toggleready" vs explicit "ready"/"break", toggle "spectator" vs explicit "join"/"observe", etc.