[help] distance between object and player
#4

if your trying to get the distance between a single object and the player why are you looping? (hence the function's name?) and the reason what you're trying to do won't work is because you don't check which object is the nearest (3.5) IN the function.

loop, get objects distance from player, check if < 3.5, return objectid
Reply


Messages In This Thread
[help] distance between object and player - by OTACON - 21.12.2013, 08:56
Re: [help] distance between object and player - by Ada32 - 21.12.2013, 09:04
Respuesta: [help] distance between object and player - by OTACON - 21.12.2013, 09:39
Re: [help] distance between object and player - by Ada32 - 21.12.2013, 10:56
Re: [help] distance between object and player - by RajatPawar - 21.12.2013, 11:39
AW: [help] distance between object and player - by Nero_3D - 21.12.2013, 12:34

Forum Jump:


Users browsing this thread: 1 Guest(s)