
01-31-2004, 01:54 AM
|
Registered User
|
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
|
|
if (playertouchsme) only triggers when the obvious happens: the player touches the NPC, not the other way around. To do what you're wanting, you would need to have a timeout constantly check the distance of the player from the NPC, as was already mentioned. However, use 0.5 at the end of that formula rather than (1/2). There's no need for extra calculation there. |
|
|