Feature #1294
Toggle command for non-boolean cvars
Status:
Rejected
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
2003-09-29
% Done:
0%
Description
when the toggle command is used on cvars such as
rend-camera-fov which obviously shouldnt be togglable
it applies anyway, setting it to 0, causing a HOM on the
whole screen.
Better behavior would be:
>toggle rend-camera-fov
rend-camera-fov is not boolean
alternatavely, the two settings, (or possibly more, to
cycle through) could be defined, so;
bind z {toggle rend-camera-fov {45,110}}
would make the key z a toggle for zoom.
Labels: Scripting
History
#1 Updated by skyjake about 19 years ago
Making this a feature request.
#2 Updated by skyjake about 11 years ago
- Tags set to Scripting
- Priority changed from Normal to Low
#3 Updated by skyjake almost 5 years ago
- Status changed from New to Rejected