Author: Gunter Severloh
Author Website:

Requirements: No addons required

Version: 1.1

Short description: This will delete the dead bodies as well as vehicles.

Date: 2013-12-08 09:26


Comments: (0)
Rating:



 



Delete Dead bodies and destroyed vehicles

by
G√ľnter Severloh


Description:
This will delete the dead bodies as well as vehicles.


Installation / Usage:
To set it up do the following:
1. In the editor place a circle trigger that will encompass the entire area that units and vehicles will be in.
set the activation to anybody, and name the trigger wholeworld
2. In your init.sqf script add this line:
[] execVM "cleanup.sqf";
3. Place both cleanup.sqf and init scripts in your mission folder.
4. Now run your game and watch the dead bodies, and vehicles disappear.

Note:
In the cleanup script there is a timer which is the amount of time given before bodies delete, and vehicles disappear, look for this code:
sleep 60;
60 means 60 seconds, so in 60 secs the bodies and vehicles will disappear you can make that a bigger number if you wish.

Tool:
A good tool for creating scripts: [page==1455]Armaedit[/page]


Changelog:
v1.1
- now works with Arma 3 as well.


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: No tags