If I wanted to press the mouse3 button to toggle between |having attack set to the scroll wheel both up and down| and |attack set to mouse1 where scroll wheel switches weapons| how would I do this?
It's for fast knife in zbomb and superts (mod servers from 1up).
Thanks.
Advertisement
Page 1 of 1
Toggle Question
#2
Posted 04 April 2013 - 09:52 AM
Try that out, i didnt test it because i dont want to rebind my stuff ;)
bind mouse3 "vstr attack_script"
set attackscript "vstr attack1"
set attack1 "set attackscript vstr attack2; bind MWHEELDOWN +attack;bind MWHEELUP +attack; ut_echo fast attack"
set attack2 "set attackscript vstr attack1; bind MWHEELDOWN weapprev;bind MWHEELUP weapnext; ut_echo weapswitch"
#3
Posted 04 April 2013 - 10:56 PM
tried it but it does not work. WHen I press mouse 3 it always echos fast attack and never weapswitch. Also you reference attack_script but only define attackscript which I fixed.
here it is:
Thanks.
here it is:
bind mouse3 "vstr attack_script"
set attack_script "vstr attack1"
set attack1 "set attackscript vstr attack2; bind MWHEELDOWN +attack;bind MWHEELUP +attack; ut_echo fast attack"
set attack2 "set attackscript vstr attack1; bind MWHEELDOWN weapprev;bind MWHEELUP weapnext; ut_echo weapswitch"
Thanks.
Page 1 of 1
1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users
Advertisement