Because that command was made for Blockland v0002, the beta, not v10. You also have to be the host of the server. (Non-dedicated)
new AIPlayer(bot) { datablock=
"PlayerStandardArmor"; position=localclientconnection.camera.getPosition(); };
Try that.
I'm assuming you're using
this guide or one of the many copies of it. If you are, the other commands in v10 versions:
Spawn Second Botnew AIPlayer(bot2) { datablock=
"PlayerStandardArmor"; position=localclientconnection.camera.getPosition(); };
Invisiblebot.hideNode("ALL");
Visiblebot.applyDefaultCharacterPref
s(); (probably, I haven't tested)
Bot Weaponsbot.mountImage(shotgunImage,0); will work if you have Ephialtes' shotgun installed and enabled. Other 'images' to try:
gunImage: Gun
swordImage: Sword
bowImage: Bow
hammerImage: Hammer
The weapons won't run out of ammo in v10.
Bots Fight Each Other bot.setAimObject(bot2);
bot2.setAimObject(bot1);
bot.setImageTrigger(0,1);
bot2.setImageTrigger(0,1);
They will shoot at each other, but not hurt each other.
Bot fights a player bot.setAimObject(localclientconnection.player);
bot.setImageTrigger(0,1);
It will shoot at you, but not hurt you. You also cannot hurt it.
Make bot aim higherbot.setAimLocation(VectorAdd(bot2.getPosition(),"0 0 1"));
Kill bots bot.kill();
bot2.kill();
Make bots follow player bot.setMoveObject(localclientconnection.player);
Give bot a name bot.setShapeName("Name Here");
Players don't have health bars in v10 when you move your mouse over them.
Make bot walk around randomlyThis command is unavailable in v10, unfortunantly.
Get gunsSimply place a brick and use the Wrench on it. You can spawn items from there. Place the Vehicle Spawn brick in the Special tab to create vehicles.