Jump to content
Sign in to follow this  
Mulchman MM

binding to keys

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×