PDA

View Full Version : Multiple sayings


GunShark
10-10-2003, 06:06 AM
I put this into the the editing forum to begin with but got no replies so i'll post again here and hopefully have better luck.

I was wondering if anyone knows how to set up a script so you can have multiple sayings bound to one key
E.G. bind x say good fight then hit the x key again to get next saying. I had something similar for Q3 about 2 years ago or so (long time) but forgot how to do and also don't know if the commands are the same. I think it may have been some sort of vstr listing?
thanks for any help

:lsduel:

FK | unnamed
10-10-2003, 06:40 AM
set change1 "say good fight;bind F vstr change2"
set change2 "say hello;bind F vstr change3"
set change3 "say your mamma;bind F vstr change1"
bind F "vstr change1"



basic "cycle script" ^^

just replace my "F key" with your key (you have to replace it in all of the script lines, *not just the bottom one) and change the messages.

you can also add more lines just remember to keep the # order correct.

just copy and paste all of that stuff at the top in a text file, edit the key you want and changes the messages.

then save it as autoexec.cfg

(you must save w/ the .cfg extension)


drop it in your base folder and it's ready to go.

recon
10-10-2003, 06:52 AM
hmm, cool :D

FK | unnamed
10-10-2003, 07:08 AM
just another basic example:


set change1 "set name ^7[^3SUBWAY^7]^2Jared;bind F vstr change2"
set change2 "set model luke/default;bind F vstr change3"
set change3 "set color1 3;bind F vstr change1"
bind F "vstr change1"



sets model/name/saber 1 color all on one key.

GunShark
10-10-2003, 12:02 PM
Thanks guys, that'll keep me going for a bit till i get stuck again :)

zeimi
10-10-2003, 12:08 PM
Originally posted by FK | unnamed

set change1 "set name ^7[^3SUBWAY^7]^2Jared;bind F vstr change2"
set change2 "set model luke/default;bind F vstr change3"
set change3 "set color1 3;bind F vstr change1"
bind F "vstr change1"

sets model/name/saber 1 color all on one key. [/B]

Why not just use bind <key> "set name ^7[^3SUBWAY^7]^2Jared;model luke/default;color1 3"?