PDA

View Full Version : binding to keys



Mulchman MM
Nov 15 2001, 21:35
Not real sure which forum to ask this in, but, is there a way to bind a msg to a key in OF?

For exmple (in Half-Life you can do):
bind k "say RGR"
or something to that effect.

The voicecomm thing is awful in-game and I never use it. It sure would be easier to have a bind for the many times I say "rgr" or "in pos" or "affirm" or "neg" and/or anything else.

Chris Death
Nov 15 2001, 23:04
at least you could use the AddAction command
like e.g: rgr AddAction ap ["say rgr","rgr.sqs"]
rgr is the name of your action (if you want to remove
it you will call for rgr)
AddAction is the command
ap (is the name of the unit)
"say rgr" is the text, which appears in the right
bottom action menu
"rgr.sqs" is the name of the script,
in which you would only need:
ap sidechat "rgr"
exit

Mulchman MM
Nov 16 2001, 02:04
I haven't tried what you said, but I want something for multilpayer play. What you posted looked like something for a single player or user created map.

Chris Death
Nov 16 2001, 02:33
This would also work in MP maps, but
to the second thing you're right,
you may use this in a user created map
where the map-editor would include
this option then.