Blockland Forums > General Discussion
How to command bots?
<< < (2/2)
Fz1906:

--- Quote from: Reindeer on August 14, 2013, 09:38:35 AM ---It's like an easy way of scripting without having to type in messy code. You can do just about anything with events, really.

--- End quote ---

I know that, but I meant what to do with the bots in events?
What to put in there?
gr8dayseth:

--- Quote from: Reindeer on August 14, 2013, 09:38:35 AM ---It's like an easy way of scripting without having to type in messy code. You can do just about anything with events, really.

--- End quote ---
He meant what to do in events for it.
The bots will already want to kill you in a minigame.
If you want to know how to do it on a bot that doesn't do that:
onBotSpawn > Bot > setTeam > Enemy
But if you want them to fight eachother too:
onBotSpawn > Bot > setTeam > Mercenary
You can probably figure out the rest of the teams yourself.

--- Quote from: gr8dayseth on August 14, 2013, 07:50:36 AM ---The following thing is an addon, can't remember where it is but you could probably search it.

--- End quote ---
Mysteroo:

--- Quote from: gr8dayseth on August 14, 2013, 07:50:36 AM ---The following thing is an addon, can't remember where it is but you could probably search it.

--- End quote ---
There was an old add-on that was buggy. But a new version of bot events has been default for a while now

Also what do you mean "the following thing?" Nothing was following what you said
Crispy_:

--- Quote from: Mysteroo on August 14, 2013, 10:17:08 AM ---Also what do you mean "the following thing?" Nothing was following what you said

--- End quote ---

--- Quote from: Fz1906 on August 14, 2013, 03:35:11 AM ---follow you.

--- End quote ---
Fz1906:

--- Quote from: gr8dayseth on August 14, 2013, 09:43:29 AM ---He meant what to do in events for it.
The bots will already want to kill you in a minigame.
If you want to know how to do it on a bot that doesn't do that:
onBotSpawn > Bot > setTeam > Enemy
But if you want them to fight eachother too:
onBotSpawn > Bot > setTeam > Mercenary
You can probably figure out the rest of the teams yourself.

--- End quote ---
Thanks, this helped, locking.....
Navigation
Message Index
Previous page

Go to full version