OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: xXNismoXx 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.
-
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
-
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 :'(
-
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 ;)
-
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?