View Full Version : How to do an anti-spawn camp script???
Nov 11 2001, 22:16
How can I make a little script that detects which enemy persons are close to west respawn zone and kill them after liek 2 or 3 warnings ??
Nov 11 2001, 23:59
The easiest way is to :
On russian camp setup a trigger that is activated by west side, in "on activate" field of that trigger add
this setdammage 4
and make the trigger repeative
Now all enemies coming to close to that base will just die:)
here's a nice script against spawn campers:
;## Example Deadzone script by toadlife (Paul Blair - toadlife@<hidden>)
;## List contents of trigger - (people present)
_zonelist = list deadzone
;## Count number of people in list
_zonecount = count _zonelist
;## If the list is 0 then exit
?(_zonecount == 0): exit
;## This is the first guy on the list - he will die soon http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/wink.gif
_deadman = _zonelist select 0
;## Get the position of the first guy on the list
_dpos = getpos _deadman
;## KILL First on on list with setdammage
;_deadman setdammage 1.0
;## or.... KILL first on on list with a tankshell -- BOOM!
"HEAT73" camcreate _dpos
;## Go back to the beggining and check the list again
in the script the Heat explosion is activated at the moment. You can deactivate it by putting a ; in front off the line. When so get rid of the ; in front of the setdamage line.
in activation field type:
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.