Detecting object on pickup/ position ( no player)
#1

Hi,

I have some pickup and if I create a object, check if the object is near ( range 10) of a pickup so...
It's like IsPlayerInRangeOfPoint, but i don't want to use the player id but the object.
ex: IsPlayerInRangeOfPoint( object, 10, pickupx[i],pickupy[i],pickupz[i]) or if objectX objectY objectZ is near(10) to pickupx[i],pickupy[i],pickupz[i] {...}

It's easy with the id player but with a position I don't made that.

Thanks for your help.
Reply


Messages In This Thread
Detecting object on pickup/ position ( no player) - by ombre - 10.11.2011, 03:00
Re: Detecting object on pickup/ position ( no player) - by Norn - 10.11.2011, 05:00
Re : Detecting object on pickup/ position ( no player) - by ombre - 11.11.2011, 01:29

Forum Jump:


Users browsing this thread: 1 Guest(s)