46
Help & Editing / Creating a bot that uses a random class
« on: November 10, 2012, 12:59:06 AM »
How do I do this? :? I'm trying to make a bot that uses a randomly picked class, but to no avail. No matter what, he always went for Mega Man when I tested with KY's classes. Here is his code. I even tried excluding the "class" prefix but that didn't work either.
Code: [Select]
{
name = "ccRandomMan"
accuracy = 1
intellect = 3
evade = 0
anticipation = 1
reactiontime = 2
perception = 1
favoriteweapon = "MegaBusterWep"
color = "00 00 00"
gender = "male"
skin = "docrobot"
class = Random
revealed = true
script = "humanbot"
chatfrequency = 0
}Can anyone help?






My body went into a frenzy and my heart sped up like I was watching a horror film. I fumbled around my laptop trying to make it stop, before hitting the power button and forcing it into shut down.
