Null Canceling Movement

A Config Script for Team Fortress 2

21 lines | 801 bytes | Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Null-cancelling movement script
// (prevents you from pressing two opposing directions, which causes you to stop moving)

bind "w" "+mfwd"
bind "a" "+mleft"
bind "s" "+mback"
bind "d" "+mright"

alias "+mfwd" "-back;+forward;alias checkfwd +forward"
alias "+mback" "-forward;+back;alias checkback +back"
alias "+mleft" "-moveright;+moveleft;alias checkleft +moveleft"
alias "+mright" "-moveleft;+moveright;alias checkright +moveright"
alias "-mfwd" "-forward;checkback;alias checkfwd none"
alias "-mback" "-back;checkfwd;alias checkback none"
alias "-mleft" "-moveleft;checkright;alias checkleft none"
alias "-mright" "-moveright;checkleft;alias checkright none"
alias "checkfwd" "none"
alias "checkback" "none"
alias "checkleft" "none"
alias "checkright" "none"
alias "none" ""
This script prevents you from pressing two opposing directions, which causes you to stop moving.
Sign up to access this!

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Author
Valve
Console Commands

Submitter

Perkzitos avatar
Perkzitos Joined 2y ago
Error 404

Perkzitos
Redistributor
Are you the owner? Request Ownership
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
  • 13.3k Views
  • 2ySubmitted
  • 6moModified

Scores

  • Not yet rated
Sign up to access this!

More Action Scripts Scripts

bcp.crwdcntrl.net tracking pixel