|
Im making a mini-game for a game im making and i need some tips for this to work right. Ok the mini-game is simple survive the attack of the various Chain Chomps , There are gonna be 4 players playing at the same time and the only way to live is to grab a bone nd throw it at an opponent (as a cheap shot lol) or throw it somewhere away from them and once the chain chomp gets the bone it will home on to the nearest player. Now i set the behavior for the chain chomp to chase the players and an escape algorithim for when the player gets a bone, but i want the chomp to chase after any of the players that are closest to it and to KO that player and as time runs out the chain chomp to get faster and more accurate with its attacks. I added another object for the chomp to chase but the chomp was going nuts and just sat in one spot furiously shaking lol, how would i get it to chase the player closest to it when there are 4 players?
|