Home   Help Search Login Register  

Author Topic: Removing units  (Read 444 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!