View Single Post
Old 02-01-2011, 03:05 PM   #1
Hammock
D&A Member
 
Join Date: Sep 2007
Posts Rated Helpful 13 Times
Slay on Flag touch

I'm looking for a lua that would make it so, until a certain number of players on the server is reached if the red team touched the blue flag they will be slain.

Once the server has like 10 people playing, the blue flag becomes available to touch again.

If the player count drops below 10 anyone who touches the blue flag will again be slain.

These are just arbitrary numbers but I imagine it would be simple enough to just modify the given number in the script.

I would also like to send a message to the player's screen that was just slain by touching the flag. And a message to all players when the specified player count is reached, or fallen below

Also since i'm not too familiar with lua's I was wondering if it's possible to set this up for all maps without edititing each individual lua file (like some sort of master lua file?), if not, it wouldn't be too tough to write a program that would inject it into every lua, so i'm not really too worried about this part.
Hammock is offline   Reply With Quote