As i post some days ago, i was making a turn script. The thing is that i have another script for zoom and another for normal turn (not walk turn):
//ZOOM
bind MOUSE2 "+vstr zoom_on zoom_off"
set zoom_on "ut_zoomin;bind f ut_zoomin"
set zoom_off "ut_zoomreset;bind f +button3;wait 2"
//TURN
bind MOUSE4 "vstr turn"
set turn "cl_yawspeed 22500; +left; wait 2; -left; cl_yawspeed 140"
//WALK TURN
bind CTRL "+vstr walk_on walk_off"
set walk_on "+speed;bind MOUSE4 vstr turn_walk"
set turn_walk "cl_yawspeed 45000; +left; wait 2; -left; cl_yawspeed 140"
set walk_off "-speed;bind MOUSE4 vstr turn;wait 2"
Im having the next problem:
If I press both zoom and walk scripts and release one of them, the other one doesn't finish. For example, I press control to walk, then i press MOUSE2 for zoom. Then i release zoom and, after release zoom, i release CTRL then, my character continues walking instead stop and beign normal walk (run, not sprint).
Advertisement
Page 1 of 1
(SCRIPTS) Layering problems?
#2
Posted 29 September 2013 - 10:53 PM
well. this is Q3A scripting. its awesome but not Autohotkey.
You cant get this fixed imo. (cant imagine a solution. Might be because you cant have to +vstr running at a time.
Best thing i can imagine:
You cant get this fixed imo. (cant imagine a solution. Might be because you cant have to +vstr running at a time.
Best thing i can imagine:
//deactivate everything key
bind KEY "-attack;-button5;-button8;-button3;-speed;ut_zoomreset";
Sorry for my bad spelling - I am still asleep. :)
|=| Iye's UrT Addon |=| Firefox Personas |=| Maps |=|
http://www.mediafire...vk3a602hcfg.jpg
|=| Iye's UrT Addon |=| Firefox Personas |=| Maps |=|
http://www.mediafire...vk3a602hcfg.jpg
#4
Posted 30 September 2013 - 10:22 AM
Runamok, on 30 September 2013 - 02:16 AM, said:
e.g bind H "vstr zoom_off;vstr walk_off"
this is actually the better solution, since it does not only disable the +/- action but also resets other vars changed in the stuck binds (like cl_yawspeed)
Sorry for my bad spelling - I am still asleep. :)
|=| Iye's UrT Addon |=| Firefox Personas |=| Maps |=|
http://www.mediafire...vk3a602hcfg.jpg
|=| Iye's UrT Addon |=| Firefox Personas |=| Maps |=|
http://www.mediafire...vk3a602hcfg.jpg
Page 1 of 1
1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users
Advertisement