Hey all, been a long time since I have scripted and forgot most of it.
I want to implement anti camping at spawn in a few maps. Not like what Admin Pro does.
What I am looking for is after 2 minutes have passed and you are still at spawn, I would like 10 health to be taken away every 5 seconds. Either you leave spawn or you die.
My maps are all obj and all set to 5 min rounds. So I would like to implement an anti spawn camping mod to keep people from just hanging out there for the whole 5 minutes.
I could research and figure this out again, but I was hoping someone could just throw something up real quick to point me in the right direction.
Getting coordinates for the spawned trigger box is not a problem. I just dont remember how to add the timer and then add the pain.
Thanks in advance !!
Anti Camp Spawn areas only
Moderator: Moderators
-
Killerdude
- Sergeant Major
- Posts: 110
- Joined: Fri May 11, 2007 12:16 am
-
Killerdude
- Sergeant Major
- Posts: 110
- Joined: Fri May 11, 2007 12:16 am
On a more serious note, check out the file zzz_no_camping.pk3 in this download http://medalofhonor.filefront.com/file/ ... od%3B69105
It might help.
KD
It might help.
KD
[Rome wasn't mapped in a day!]