Help! Can't get computer to collect items.
![MedaForce](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
I'm trying to get a computer controlled player to go around a level collecting coins before the human player can collect them. I'm having some trouble trying to get this to work. I've tried a few things but haven't had much success. I've tried the the TargetX/TargetY that is suggested when dealing with having a enemy go after a player but when I tried applying it to multiple coins it just shots upwards collects two and then gets stuck on a wall. Is there maybe someway to have it so it would goto the nearest one?
Also on a small secondary problem, is there anyway to prevent the computer controlled player from just flying around and actually uses the controls that I have programed in for the actual player. The game is a side-scroller platform and not top-down and right now I am using an accelerate to act like gravity and it works great when you have actual humans playing, but when I have the computer take over it seems to ignore it.
Any help would be greatly appreciated.
Also on a small secondary problem, is there anyway to prevent the computer controlled player from just flying around and actually uses the controls that I have programed in for the actual player. The game is a side-scroller platform and not top-down and right now I am using an accelerate to act like gravity and it works great when you have actual humans playing, but when I have the computer take over it seems to ignore it.
Any help would be greatly appreciated.
Comments
- Jeff
---------------------
Dexter DVD
Supernatural DVD
The Vampire Diaries DVD
How I Met Your Mother DVD
Sons Of Anarchy DVD