bind is deprecated, you need to use set:
set foobar "+moveup;wait;+attack;wait;-attack;wait;-moveup"
bind r vstr foo
you have to wait a gametic after every action because you can't two things at
the same time (but since a gametic is <<1s, it just seems they happen
simoultanously).
dont forget to use 'vstr foo', instead of 'foo' in the bind command. vstr will
evalute the variable you set, and not to show it.
cheers,
Markus
I was wondering if & how to bind a single key for 2 or 3 actions. As in jump
& fire then say move back.
I've tried a few combinations in config file but will only do 1 of the
comands or none at all.
I tried lines like...
bind k "+moveup"; "+attack"
bind k "+moveup" "+attack"
bind k "+moveup +attack" etc...
If anyone knows how to do this, could you please let me know.
Thanks
Grot
ps. This question is for Quake3
> I tried lines like...
>
> bind k "+moveup"; "+attack"
>
> bind k "+moveup" "+attack"
>
> bind k "+moveup +attack" etc...
>
> If anyone knows how to do this, could you please let me know.
Hi, fellow Zipster! :)
You *almost* got it right above... hehehe... do this:
bind k "+moveup ; +attack"
On some PC's you might need a "wait" or two like so:
bind k "+moveup ; wait ; +attack"
Regards, Otser.
--
Visit my web site: http://www.zipworld.com.au/~otser
You'll find Quake, Psion 3c and Amiga stuff there!
alias runfire "+forward; +attack"
bind k "runfire"
you always need a ';' between commands. I used +forward insead of +moveup as
+moveup is for climbing and will fire into the ladder you are climbing.
Hope this helps
Cheers
Setanta
Grot wrote:
> I was wondering if & how to bind a single key for 2 or 3 actions. As in jump
> & fire then say move back.
>
> I've tried a few combinations in config file but will only do 1 of the
> comands or none at all.
>
> I tried lines like...
>
> bind k "+moveup"; "+attack"
>
> bind k "+moveup" "+attack"
>
> bind k "+moveup +attack" etc...
>
> If anyone knows how to do this, could you please let me know.
>
> Thanks
>
> Grot
>
> ps. This question is for Quake3
--
"No dammit, it's not OK. Where's the [NOT OK] button?"
(Micro$oft General Protection Fault No. !@#$%*&)
Email: pmh...@zipworld.com.au (Remove "Spamblock" to reply).
ph...@carlo-high.nsw.edu.au (work)
http://www.zipworld.com.au/~pmhind