Digital Paint Discussion Board

Paintball 2: The Game => Help and Support => Topic started by: Br55HiT on November 10, 2008, 01:04:00 PM

Title: Increasing variables?
Post 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.
Title: Re: Increasing variables?
Post by: Zorchenhimer on November 10, 2008, 06:08:17 PM
Bind cvar_inc to a key.  :P
Title: Re: Increasing variables?
Post by: Br55HiT on November 10, 2008, 08:07:12 PM
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. 
Title: Re: Increasing variables?
Post by: Zorchenhimer on November 10, 2008, 10:37:22 PM
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.
Title: Re: Increasing variables?
Post by: Br55HiT on November 10, 2008, 10:56:36 PM
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?
Title: Re: Increasing variables?
Post by: Zorchenhimer on November 11, 2008, 01:34:25 AM
You might have to use cvar_set to be able to do that one.
Title: Re: Increasing variables?
Post by: Br55HiT on November 11, 2008, 10:28:16 AM
It says that's an unknown command...  :-\
Title: Re: Increasing variables?
Post by: jitspoe on November 13, 2008, 11:18:06 AM
What are you trying to accomplish?

You could do "set blah 1; cvar_inc blah 1", but why not just do "set blah 2"?
Title: Re: Increasing variables?
Post by: ViciouZ on November 13, 2008, 11:33:48 AM
Perhaps a crosshair scroller.
Title: Re: Increasing variables?
Post by: Br55HiT on November 14, 2008, 11:04:35 AM
For a specinvite script.
Title: Re: Increasing variables?
Post by: Herron on November 15, 2008, 05:04:19 PM
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)...