some problem i need help solving it
Voodo_HUN Members Join Date: 2006-11-29 Member: 58773Posts: 153
edited January 2007 in Scripting Discussion
fast wep change scriptreduced aliases:
OK i have this script, some words are hungarian, but you can indentify them by aliases, so the script would be:
alias firstattack "slot1;w;+attack"
alias secondattack "slot2;w;+attack"
alias thirdattack "slot3;w;+attack"
alias fourthattack "slot4;w;+attack"
alias realias1 "alias +first firstattack"
alias realias2 "alias +second secondattack"
alias realias3 "alias +third thirdattack"
alias realias4 "alias +fourth fourthattack"
alias +first "realias2;realias3;realias4;slot1;w;+attack;alias +first +attack"
alias -first "-attack"
alias +second "realias1;realias3;realias4;slot2;w;+attack;alias +second +attack"
alias -second "-attack"
alias +third "realias1;realias2;realias4;slot3;w;+attack;alias +third +attack"
alias -third "-attack"
alias +fourth "realias1;realias2;realias3;slot4;w;+attack;alias +fourth +attack"
alias -fourth "-attack"
bind mouse1 +first
bind mouse2 +second
bind mouse4 +third
bind mouse5 +fourth
this script is for fade wep change
the problem is: if i press mouse4, it changes to metabolize, does 1 metabozlize, or until i hold it. if i dont change wep and press mouse4 again it does metabolize.
if i switch to acid rocket by pressing mouse5 it "launches a rocket" but if i want to change back to metabolize (by mouse4) it launches another rocket instead of switching to metabolize and doing it
the same problem with swipe-metabolize change, but it works correctly with swipe-acid rocket change
if i type the realias_x stuff in console, it works correctly
: w is wait
i know it could be simplyer, but if it would only be like "alias +elso slot1;w;+attack" than slot1 would always count, which makes the hl engine wait with the next hit, therefore i loose time
if i use with the 1-4be alias stuff the metabolize dont works, if i use it by copying their value in to the +elso - +negyedik lines the swipe dont works
Post edited by Unknown User on
Avatar removed. 64x64 22kB max. -Scythe