| Blockland Forums > Modification Help |
| AI Players |
| << < (2/7) > >> |
| Aloshi:
Well, I know how...but you'd need to migrate a few things from RTB. I was thinking of remaking my old kittybot thing minus kitty-ness, but then I decided not to. Anyways...use --- Code: ---new AIPlayer(Name){datablock = "DataBlockHere, usually PlayerStandardArmor or something" }; --- End code --- I think. (Can't be bothered to check :P) |
| (MoA) Shaun:
--- Quote from: Aloshi on March 22, 2007, 05:52:13 PM ---Well, I know how...but you'd need to migrate a few things from RTB. I was thinking of remaking my old kittybot thing minus kitty-ness, but then I decided not to. Anyways...use --- Code: ---new AIPlayer(Name){datablock = "DataBlockHere, usually PlayerStandardArmor or something" }; --- End code --- I think. (Can't be bothered to check :P) --- End quote --- theres no aiPlayer script in retail blockland :P |
| VerticalHorizon:
--- Quote from: Aloshi on March 22, 2007, 05:52:13 PM ---Well, I know how...but you'd need to migrate a few things from RTB. --- End quote --- |
| Oxcorp:
--- Quote from: Badspot ---Fixed AI players not being able to ride player-based vehicles --- End quote --- |
| Nitramtj:
--- Code: ---function createBot() { %bot = new AIPlayer() { datablock = "PlayerNoJet"; }; return %bot; } //to make bots take damage do %bot.minigame = %client.minigame; //%bot.client = %bot; %bot.player = %bot; //make sure the client is in a minigame --- End code --- |
| Navigation |
| Message Index |
| Next page |
| Previous page |