01.11.2011, 22:24
Hi guys.
I'm wondering how I would go about having 3 points, and asking which one is the closest from where the player is. So just for an example,
Point 1: 1.00X, 2.00Y, 2.05Z
Point 2: 222.00X, 32.111Y, 333.33Z
Point 3: 1223.00X, 123.11Y, 321.11111Z
How would I ask which one the player is closest too?
I'm wondering how I would go about having 3 points, and asking which one is the closest from where the player is. So just for an example,
Point 1: 1.00X, 2.00Y, 2.05Z
Point 2: 222.00X, 32.111Y, 333.33Z
Point 3: 1223.00X, 123.11Y, 321.11111Z
How would I ask which one the player is closest too?