Jump to content
Sign in to follow this  
fish44

Script to remove bodies.

Recommended Posts

Since no one responds..

No link, but I can show you all that's needed.

To each unit created, add to their init string:

this addEventHandler ["killed",{_this exec "eventKilled.sqs"}]

and make a small textfile named "eventKilled.sqs" and put it in your mission folder next to mission.sqm after you pasted the following lines into it:

;** eventKilled.sqs **

private["_unit","_killer"]

_unit = _this select 0

_killer = _this select 1

~200

deleteVehicle _unit

Exit

;***

Good luck.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×