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: Removing units  (Read 642 times)

0 Members and 1 Guest are viewing this topic.

killjoy73au

  • Guest
Removing units
« on: 29 Jan 2005, 07:46:11 »
I was wondering how to delete units off the map? e.g have a sniper shoot some dude then have the sniper deleted or delete dead bodies so they dont clutter up the memory

Offline greg147

  • Contributing Member
  • **
    • Royal Air Assault Battalion
Re:Removing units
« Reply #1 on: 29 Jan 2005, 09:34:23 »
I'm not sure about deleting the sniper, but try this script for deleting dead bodies:

http://www.ofpec.com/editors/browse.php?browsewhat=1&start=100

Its at the top of the page, called 'lag eliminator'  :thumbsup:
Royal Air Assault Battalion - [L/Cpl] Greg
RAAB

Silencer

  • Guest
Re:Removing units
« Reply #2 on: 29 Jan 2005, 11:07:55 »
To delete the sniper:

- Name the sniper    Sniper1

- Make a trigger: East    Not Present

- Put this in the on activation field:    DeleteVehicle Sniper1

When the west sniper kills the east guys, it will remove the sniper!