|NvG|disaster
05-07-2007, 09:50 AM
I am creating a bind for myself to easily and quickly switch weapon before I die,
for this I create a bind but that bind needs to have a standard keypress action in there.
bind 3 "openScriptMenu ingame weaponswitch; [The keypress command needs to go here]"
The thing it does now is just open the weaponswitch menu but I also want to be able to change weapon in that menu, which would be for example the m1garand/gewehr/tokarev
the number these weapons have in the weaponmenu is 3, I need to simulate the pressing of key 3
And yes I really want to have this so dont ask anything relating to why I want it etc.
for this I create a bind but that bind needs to have a standard keypress action in there.
bind 3 "openScriptMenu ingame weaponswitch; [The keypress command needs to go here]"
The thing it does now is just open the weaponswitch menu but I also want to be able to change weapon in that menu, which would be for example the m1garand/gewehr/tokarev
the number these weapons have in the weaponmenu is 3, I need to simulate the pressing of key 3
And yes I really want to have this so dont ask anything relating to why I want it etc.