Digital Paint Discussion Board
Paintball 2: The Game => Help and Support => Topic started by: Br55HiT on November 10, 2008, 01:04:00 PM
-
Is there a command to change a variable in DP like the cvar_inc only without it having to be a cvar command? Like to just change a variable up or down without it having to be a command.
-
Bind cvar_inc to a key. :P
-
But I want to increase a variable without using a command in it. Like in irc just using inc %i not like cvar_inc sensitivity 1.
-
Um, everything is a command. Period. Everything from moving, to talking, to dropping a gun, to changing a setting. You have to "command" it to change (if you wanna look at it that way) or its just gonna sit there.
-
Like you can't do set blah 1. Then do cvar_inc blah 1. It won't increase blah which is what I want to do.
I don't know if that is a better way of asking?
-
You might have to use cvar_set to be able to do that one.
-
It says that's an unknown command... :-\
-
What are you trying to accomplish?
You could do "set blah 1; cvar_inc blah 1", but why not just do "set blah 2"?
-
Perhaps a crosshair scroller.
-
For a specinvite script.
-
Like you can't do set blah 1. Then do cvar_inc blah 1. It won't increase blah which is what I want to do.
I don't know if that is a better way of asking?
Works for me (build 22)...