Help doors
#4

You input the coordinates of the object, the same ones as you created the doors with. Because the function compares the distance between you and a given set of coordinates.

So to check whether the player is close enough to the door, in IsPlayerInRangeOfPoint you input the object coordinates.
Reply


Messages In This Thread
Help doors - by Fjclip99 - 30.07.2014, 20:04
Re: Help doors - by Rifa4life - 30.07.2014, 20:34
Re: Help doors - by Fjclip99 - 30.07.2014, 20:45
Re: Help doors - by Rifa4life - 31.07.2014, 09:35

Forum Jump:


Users browsing this thread: 1 Guest(s)