Sunday, September 19, 2010

Squad Follows The Player

Left flowgraph - On start AI follows the player, 2 players in front, 1 behind at set distances.
Right flowgraph - On input of 'p' key stop 2 of the AIs following the player.

The Animation - Squad Follows Player

On start three people follow the player. They are given a follow area to follow within and two follow paths which they can switch between depending on which they are closer too. The followers have each been set to follow at different distances from the player, 8, 6 and -6. However, the follow area does not seem to work and they will actually follow the player outside the follow area. They do seem to show some preference to the two paths I set which run under the station framework.


I have added the stop follow command using the input key 'p', to demonstrate this I only switched off two of the followers and allowed the other to continue following.

No comments:

Post a Comment