lfnetwork.com mark read register faq members calendar

Thread: making a toggle key
Thread Tools Display Modes
Post a new thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Prev Previous Post   Next Post Next
Old 10-04-2008, 03:06 PM   #1
katanamaru
 
Join Date: Aug 2002
Posts: 471
making a toggle key

I'm trying to make a key that allows me to toggle 'always run.' I don't like having to hold down a key to accomplish this. I have tried two different methods that I have had no success with.

First was with the '!'. On the filefront forums it was posted that the ! would allow a button to toggle a command. So I tried this:
bind CTRL "cl_run !"
That did not work for me.

The second way was with 'vstr' commands in a .cfg. I tried this"
bind CTRL vstr run1 "cl_run 1"; vstr walk1
bind CTRL vstr walk1 "cl_run 0"; vstr run1
That may not be exactly right since I'm at school and cannot pull up the actual text file, but it is close.

If someone knows how to do this and willing to share I'd appreciate it.
katanamaru is offline   you may: quote & reply,
Post a new thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Coding > making a toggle key

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:41 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.