panel icon indicating copy to clipboard operation
panel copied to clipboard

Adding custom Validation rules for Variables

Open lancepioch opened this issue 1 year ago • 0 comments

lancepioch avatar Apr 21 '24 17:04 lancepioch

@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 avatar Dec 16 '22 13:12 tcsabina

@tcsabina for /autotrack

I think it would make most sense to allow usage as I suggested.

vikpe avatar Dec 16 '22 22:12 vikpe

@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.

HangTimeQW avatar Dec 18 '22 17:12 HangTimeQW