Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Spawn Protection and borders  (Read 1802 times)

0 Members and 1 Guest are viewing this topic.

Eddie

  • Guest
Spawn Protection and borders
« on: 26 Jan 2003, 14:38:46 »
hi, i was wondering if anyone could help me out with borders on a MP map  so the players are restricted to the battle zone, also how can you do a spawn protective border, to stop spawn rapers...  
    cheeres..  ;D

Tactician

  • Guest
Re:Spawn Protection and borders
« Reply #1 on: 26 Jan 2003, 19:52:11 »
Make a trigger of whatever radius you want to protect triggered by Anybody repeatedly.

Condition:

(vehicle player) in thisList AND side player != SIDE

Activation:

(vehicle player) setDammage 1; player setDammage 1; hint "You violated the border!"

"SIDE" in the condition is whatever side DOESN'T die in the zone.  If the zone is supposed to keep out everyone, change the condition to just (vehicle player) in thisList.

I've answered this question about three times, I think that means it's time to write a tutorial :)