Files
DayZ-Epoch/dayz_code/compile/stream_locationDel.sqf
Aaron Clark 76e9a0582e 0.1
2012-11-04 20:28:50 -06:00

12 lines
378 B
Plaintext

for "_i" from 0 to ((count _this) - 1) do
{
private ["_config","_type","_position","_dir","_onFire","_object"];
_config = (_this select _i);
if (isClass(_config)) then {
_type = getText (_config >> "ctype");
_position = getArray (_config >> "position");
_object = nearestObject [_position,_type];
deleteVehicle _object;
};
};
//diag_log ("CLEAR: " + str(_this));