Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Revonx on Thu 18/12/2008 00:25:12

Title: Follow character command (Best/Optimum)
Post by: Revonx on Thu 18/12/2008 00:25:12
Hi, quick question, apologies if this should be in General Discussion rather than Beginners.

Been experimenting, attempting to find the best possible DIST and EAGERNESS when a character follows another character. Obviously I realise it depends on the type of game you're creating,  resolution, e.t.c. But wondering if anyone whos created or is creating an AGS game found a good balance between the two.

At the moment I'm using:
cNPC.FollowCharacter(cPlayer, 1, 10);
When cNPC has a uniformed movement speed of 5
And cPlayer has a uniformed movement speed of 4

Which isn't bad, but could perhaps be better. I appreciate this question might be difficult in answering as I've given you no other information, but any kind of input would be appreciated.

Revonx.