Page 1 of 1

Camp mod..

Posted: Sat Jul 18, 2009 8:10 pm
by HeavenBound
k...so I'm workin on an anti camp mod...not going to tell what all goes on in it...but how would I define someone is camping scriptwise. I have the rest done, I just don't know how to define someone as camping in script..

Posted: Mon Jul 20, 2009 9:45 am
by $oldier Of Ra
Just record his origin and check how long he stays within a radius of, say 50 units with as centre that recorded origin. Once it turns false, meaning he left the radius, start over again etc... Once he's over a specified amount of time, buzz him or kill him.

Why not take a look or just use the one in the admin pro menu?

Posted: Mon Jul 20, 2009 8:46 pm
by HeavenBound
Well..Actually I did, but thats some heavy core crap...plus im not using any of mefys stuff...that and I didnt wanna rip Elgan off...

Sor, I'm going to pm u on what the mod is gunna do..cuz i dont really wanna be ripped off, and I trust you. :]