| Blockland Forums > Modification Help |
| AI Connections |
| << < (2/2) |
| MegaScientifical:
AI Connections are not fully developed. As I read on Garage Games, it's just meant to clean up code for AI Players and such, but you need to set everything up, yourself. |
| Headcrab Zombie:
Make sure that the class that createPlayer created was an AIPlayer and not a normal Player? If not, package the method to spawn an AIPlayer Also make sure that you gave the function arguments? |
| lilboarder32:
--- Quote from: Headcrab Zombie on August 21, 2010, 01:52:10 PM ---Make sure that the class that createPlayer created was an AIPlayer and not a normal Player? If not, package the method to spawn an AIPlayer --- End quote --- Ah, that might have been my issue. I did not know there was an AIPlayer class. I did know that, just didn't put 2 and 2 together. --- Quote from: Headcrab Zombie on August 21, 2010, 01:52:10 PM ---Also make sure that you gave the function arguments? --- End quote --- Are you talking about .createPlayer()? I definitely gave the move functions arguments. Edit: Alright, so I am using an AIPlayer now as the objects player, and I can just call movement methods through the AIPlayer. The move methods on the AIConnection don't seem to be finished or whatever as M stated. |
| Headcrab Zombie:
Yeah I created an AIConnection and called createPlayer on it, it was a player instead of an AIplayer You'll have to manually create the AIPlayer yourself --- Code: ---new AIPlayer() { datablock = PlayerStandardArmor; }; --- End code --- |
| Navigation |
| Message Index |
| Previous page |