Home   Help Search Login Register  

Author Topic: Dead Boddie Script  (Read 1430 times)

0 Members and 2 Guests are viewing this topic.

xXNismoXx

  • Guest
Dead Boddie Script
« on: 30 Dec 2003, 11:09:17 »
i'm looking for a sqs file or anything that will work that will remove dead bodies of playable and non-playable men.  Help would be greatly appreciated.

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re:Dead Boddie Script
« Reply #1 on: 30 Dec 2003, 14:33:06 »
this is what I use, make a global trigger for each unit, condition:
!(alive unitname)
on activation:
[ unitname ] exec "AP.SQS"
AP.SQS:
_body =_this select 0
~15
deleteVehicle _body
 
exit  
« Last Edit: 30 Dec 2003, 14:33:54 by Zombie »

xXNismoXx

  • Guest
Re:Dead Boddie Script
« Reply #2 on: 30 Dec 2003, 17:04:02 »
do I need to download the "ap.sqs" file?, also will this delete enemy ai bodies?

darn, if this is it, this will take me awhile  :'(
« Last Edit: 30 Dec 2003, 17:53:38 by =TERA=-Forrest »

xXNismoXx

  • Guest
Re:Dead Boddie Script
« Reply #3 on: 30 Dec 2003, 18:41:06 »
OMG, sry chief, I need at least a pot of coffee for my brain to work in the morning, thank you very much, works great !

for those of you interested...

cut and paste this:

_body =_this select 0
~15
deleteVehicle _body

exit  

Its your "ap.sqs" file, and add it to your mission folder,
then make a trigger as zombie wrote.

thanks again zombie ;)

xXNismoXx

  • Guest
Re:Dead Boddie Script
« Reply #4 on: 30 Dec 2003, 20:19:08 »
one last q for ya, if the game laggs in mp will the delete body script fail? all my triggers (all 59 of em) are on "once".  ??? should i change them to repetidly?
« Last Edit: 30 Dec 2003, 22:19:36 by =TERA=-Forrest »