r/Tf2Scripts • u/Subject-Document-315 • Oct 02 '20
Resolved Help with a part of my script
I'm working on completely rewriting my GameBanana engineer script and fixing it for the switch to last weapon works. But I don't know how this part (Arrow Pointed)still doesn't work. Can you guys help me? I can credit you.
slot3
alias "buildactivate" "bind mouse1 buildsentry; bind mouse2 builddispenser; bind mwheelup buildentrance; bind mwheeldown buildexit; bind q buildactivateq"
alias "buildsentry" "destroy 2; build 2; bind mouse1 +buildattack; bind mouse2 +attack2; bind mouse3 buildactivate; unbind mwheelup; unbind mwheeldown; bind q gobacktoengieslot3withlastinv"
alias "builddispenser" "destroy 0; build 0; bind mouse1 +buildattack; bind mouse2 +attack2; bind mouse3 buildactivate; unbind mwheelup; unbind mwheeldown; bind q gobacktoengieslot3withlastinv"
alias "buildentrance" "destroy 1; build 1; bind mouse1 +buildattack; bind mouse2 +attack2; bind mouse3 buildactivate; unbind mwheelup; unbind mwheeldown; bind q gobacktoengieslot3withlastinv"
alias "buildexit" "destroy 3; build 3; bind mouse1 +buildattack; bind mouse2 +attack2; bind mouse3 buildactivate; unbind mwheelup; unbind mwheeldown; bind q gobacktoengieslot3withlastinv"
alias "+buildattack" "+attack"
alias "-buildattack" "-attack; engieslot3; bind mouse1 +attack"
alias "destroyactivate" "bind mouse1 destroyversentry; bind mouse2 destroyverdispenser; bind mwheelup destroyverentrance; bind mwheeldown destroyverexit; bind q destroycancel"
alias "destroyversentry" "bind mouse3 destroysentry"
alias "destroysentry" "destroy 2; bind mouse1 +attack; bind mouse2 +attack2; bind mouse3 buildactivate; engieslot3"
alias "destroyverdispenser" "bind mouse3 destroydispenser"
alias "destroydispenser" "destroy 0; bind mouse1 +attack; bind mouse2 +attack2; bind mouse3 buildactivate; engieslot3"
alias "destroyverentrance" "bind mouse3 destroyentrance"
alias "destroyentrance" "destroy 1; bind mouse1 +attack; bind mouse2 +attack2; bind mouse3 buildactivate; engieslot3
alias "destroyverexit" "bind mouse3 destroyexit"
alias "destroyexit" "destroy 3; bind mouse1 +attack; bind mouse2 +attack2; bind mouse3 buildactivate; engieslot3"
alias "engineerslot1" "slot1; bind mwheelup engineerslot3; bind mwheeldown engineerslot2; alias checkweaponslotfordestroy engieslot1; alias whatweaponslotdestroycancel engineerslot1; bind q engiescriptlastinv1"
alias "engieslot1" "bind mwheelup engineerslot3; bind mwheeldown engineerslot2"
alias "engineerslot2" "slot2; bind mwheelup engineerslot1; bind mwheeldown engineerslot3; alias checkweaponslotfordestroy engieslot2; alias whatweaponslotdestroycancel engineerslot2; bind q engiescriptlastinv2"
alias "engieslot2" "bind mwheelup engineerslot1; bind mwheeldown engineerslot3"
alias "engineerslot3" "slot3; bind mwheelup engineerslot2; bind mwheeldown engineerslot1; alias checkweaponslotfordestroy engieslot3; alias whatweaponslotdestroycancel engineerslot3; bind q engiescriptlastinv3"
alias "engieslot3" "bind mwheelup engineerslot2; bind mwheeldown engineerslot1"
alias "gobacktoengieslot3withlastinv" "lastinv; engineerslot3; firstslot3switchcmds"
alias "destroycancel" "bind mouse1 +attack; bind mouse2 +attack2; whatweaponslotdestroycancel"
alias "buildactivateq" "bind mouse1 +attack; bind mouse2 +attack2; engineerslot3; firstslot3switchcmds"
| | | | | | | | | | | | | | | | | | |
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
alias "switch31" "engineerslot1; setswitch13; setswitch21"
alias "setswitch31" "alias engiescriptlastinv3 switch31"
alias "switch32" "engineerslot2; setswitch23; setswitch12"
alias "setswitch32" "alias engiescriptlastinv3 switch32"
alias "switch21" "engineerslot1; setswitch12; setswitch31"
alias "setswitch21" "alias engiescriptlastinv2 switch21"
alias "switch23" "engineerslot3; setswitch32; setswitch13"
alias "setswitch23" "alias engiescriptlastinv2 switch23"
alias "switch12" "engineerslot2; setswitch21; setswitch32"
alias "setswitch12" "alias engiescriptlastinv1 switch12"
alias "switch13" "engineerslot3; setswitch31; setswitch23"
alias "setswitch13" "alias engiescriptlastinv1 switch13"
/-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\
| | | | | | | | | | | | | | | | | | |
alias "firstslot3switchcmds" "switch23; bind q engiescriptlastinv3; alias firstslot3switchcmds null"
firstslot3switchcmds
alias null ""
bind "1" "engineerslot1"
bind "2" "engineerslot2"
bind "3" "engineerslot3"
bind "4" "destroyactivate"
5
Upvotes
View all comments
Show parent comment
1
u/pdatumoj Oct 16 '20
Congratulations, and I'm happy to hear you got something working, but it seems you didn't understand what we were asking. We weren't asking what you were trying to achieve, or why you needed it, but rather how you intended the specific bits of code you'd written to work.
That said, I (and probably u/just_a_random_dood and u/bythepowerofscience too) am interested in what you wound up doing for your working method.