31.07.2014, 09:35
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.
So to check whether the player is close enough to the door, in IsPlayerInRangeOfPoint you input the object coordinates.