Quote:
Originally Posted by ►Peter Corneile [ideal-host.co.uk
◄ ]
Quote:
Originally Posted by dirkblok
Quote:
Originally Posted by ►Peter Corneile [ideal-host.co.uk
◄ ]
Quote:
Originally Posted by dirkblok
Quote:
Originally Posted by ►Peter Corneile [ideal-host.co.uk
◄ ]
I would prefer IsPlayerInRangeOfPoint function and a Timer to check it of-course
|
but if it's a long fence, you got to make alot of IsPlayerInRangeOfPoint, because it measures in a range, so if you would be far away from it you would get executed anyways...
I'm not sure if you could only check it for the x or y ...
![Wink](images/smilies/wink.png)
|
You can increase the radius of the range ![Wink](images/smilies/wink.png)
|
I know that, but remember it's a radius
And a radius is round, and the gate is straight, so if you aren't near the fence, but still in the radius....
|
Hmm.. Maybe yes ![confused](images/smilies/confused.gif)
|
So... that's why you have to create several small IsPlayerInRangeOfPoint at different places to use it
![Wink](images/smilies/wink.png)
Maybe you could make something that checks someones x or y as, if you placed the object without any rotation.