Debugging bind scripts
#1
I have this seemingly simple script that I made to rebind some keys to some sounds. For some reason, it is consistently giving me errors.

Errors;
  1. All binds execute at game startup.
  2. It says that there is an unregistered sound number 44
  3. The keys get unbound. Like, they dont work anymore.
This is my script;
bind A (crouch) (say D)
bind S (voicecom stayhere G)
bind D (voicecom sorry A)
bind F (if (=f curweapon 2) (weapon (rnd 1)) (weapon 2)) (say B)
bind G (voicecom niceshot C)
bind H (jump) (say D)
bind RETURN (suicide)

This code may seem a little random to you, but dont worry. You may think that my binds are going to stay that way, dont worry, I know.

Additional information, I did use a mod package to replace some of the sounds, I'm keeping the same names, and they are in the right place, I dont think they are the problem. I'll run a test soon to figure out.


Am I using totally different command than I should?
Thanks given by:


Messages In This Thread
Debugging bind scripts - by Ronald_Reagan - 06 Jul 10, 07:54AM
RE: Debugging bind scripts - by #M|A#Wolf - 06 Jul 10, 08:08AM
RE: Debugging bind scripts - by Ronald_Reagan - 06 Jul 10, 08:13AM
RE: Debugging bind scripts - by #M|A#Wolf - 06 Jul 10, 08:16AM
RE: Debugging bind scripts - by Ronald_Reagan - 06 Jul 10, 08:23AM
RE: Debugging bind scripts - by #M|A#Wolf - 06 Jul 10, 08:28AM
RE: Debugging bind scripts - by Ronald_Reagan - 06 Jul 10, 08:35AM
RE: Debugging bind scripts - by Kirin - 06 Jul 10, 08:51AM
RE: Debugging bind scripts - by R4zor - 06 Jul 10, 09:37AM
RE: Debugging bind scripts - by Ronald_Reagan - 06 Jul 10, 11:11PM
RE: Debugging bind scripts - by V-Man - 07 Jul 10, 03:03AM