Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Juzam

Pages: [1]
1
digency: I had that in mind, but when you use a blaster and pick up a weapon, you automatically /use that weapon. Using %w is also necessary since the weapon changes automatically when you run out of ammo and try to shoot.

[vA]Ghost9: Yeah, this would be a nice bind. Asking for ammo is relatively easy in Ventrilo, but it's only used in clan wars. One button for asking for whatever ammo would be great. :) Feel free to check out my current configs, http://skene.arenanet.fi/ttnm/download/cfg-juzam.zip

2
Quake / Techy Bind Help: Setting Variable For Current Weapon's Ammo?
« on: March 20, 2006, 08:36:18 AM »
I'm trying to do the following..

Bind e.g. F2 to "say_team NEED SLUGS" or "say_team NEED ROCKETS" etc, depending on which weapon I'm using.

At least in Quake 2's Battle mode, I can use the identifier %w to return the weapon I'm using. For example, I can do "say_team NEED Ammo for %w", which would result in e.g. "NEED Ammo for Shotgun".

I can also set variables, e.g. set a_Shotgun SHELLS, so when I type "say_team NEED $a_Shotgun", I would get "NEED SHELLS".

So the variable I'm trying to set is a_%w, but that's the problem. How can I evaluate the %w inside a variable?

Suppose I have a_Shotgun set to "SHELLS" and I'm using Shotgun. Using say_team NEED $a_%w is not working. What to do?

edit: typo

Pages: [1]