Electric fence
#12

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 ...

You can increase the radius of the range
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
So... that's why you have to create several small IsPlayerInRangeOfPoint at different places to use it
Maybe you could make something that checks someones x or y as, if you placed the object without any rotation.
Reply


Messages In This Thread
Electric fence - by Sal_Kings - 08.11.2009, 16:37
Re: Electric fence - by Redgie - 08.11.2009, 17:05
Re: Electric fence - by ThaPieRoXx - 10.11.2009, 15:23
Re: Electric fence - by DeathOnaStick - 10.11.2009, 15:26
Re: Electric fence - by BIGBOY - 10.11.2009, 15:38
Re: Electric fence - by ThaPieRoXx - 10.11.2009, 15:55
Re: Electric fence - by Peter_Corneile - 10.11.2009, 15:57
Re: Electric fence - by dirkblok - 10.11.2009, 17:36
Re: Electric fence - by Peter_Corneile - 11.11.2009, 04:44
Re: Electric fence - by dirkblok - 11.11.2009, 14:44
Re: Electric fence - by Peter_Corneile - 11.11.2009, 15:30
Re: Electric fence - by dirkblok - 11.11.2009, 16:13
Re: Electric fence - by Peter_Corneile - 11.11.2009, 17:13
Re: Electric fence - by dirkblok - 12.11.2009, 06:29
Re: Electric fence - by Peter_Corneile - 12.11.2009, 08:24

Forum Jump:


Users browsing this thread: 1 Guest(s)