View Single Post
Old 09-14-2007, 01:55 PM   #29
Thansal
 
Thansal's Avatar
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
heh, lets try this out:

Code:
alias spy1 "disguise enemy soldier; alias spyrotate spy2"
alias spy2 "disguise enemy Demoman; alias spyrotate spy3"
alias spy3 "disguise enemy Hwguy; alias spyrotate spy4"
alias spy4 "disguise enemy Medic; alias spyrotate spy5"
alias spy5 "disguise enemy Pyro; alias spyrotate spy6"
alias spy6 "disguise enemy Scout; alias spyrotate spy7"
alias spy7 "disguise enemy Sniper; alias spyrotate spy8"
alias spy8 "disguise enemy Spy; alias spyrotate spy1"

alias spyrotate spy1

Bind X spyrotate
Never disguise as the same class twice!

Obviously, taking out sniper is often a good idea. And you can mix it up as you see fit.

now here is my question. Is there a way to implement randomness into something?
an example in psudocode:
Code:
alias spy1 "disguise enemy soldier; alias spyrotate spyRandInt[1-8]"
thus making it all really random?

(if this is not doable I will probably just make a nice random generation for my self and make the list longer)
Thansal is offline   Reply With Quote