following NPC

Started by , Thu 17/04/2003 21:38:40

Previous topic - Next topic

Megaman

Hi!

I was wondering about an following NPC, its great but he stops right in front of the main character.

So my question is this: is it possible to make the character stop walking some distance from the main character? And how do I adjust the distance?

Thanks!

scotch

Have you tried FollowCharacterEx?

it goes
FollowCharacterEx (CHARID, int chartofollow, int dist, int eagerness)

the distance is the distance it stays away from the character.

try:
FollowCharacterEx (NPC, EGO, 40, 97);

Megaman

Thanks very much!! I tried that before but it didnt work but it works now :D

SMF spam blocked by CleanTalk