diff --git a/Tools/Epoch_LootSpawner.sqf b/Tools/Epoch_LootSpawner.sqf new file mode 100644 index 0000000..574de50 --- /dev/null +++ b/Tools/Epoch_LootSpawner.sqf @@ -0,0 +1,5 @@ +{ + [_x] call EPOCH_spawnLoot; + EPOCH_lootObjects = []; + EPOCH_LootedBlds = [] +} foreach (nearestobjects [player,["building"],200]) \ No newline at end of file diff --git a/Tools/RemoveTreesAround.sqf b/Tools/RemoveTreesAround.sqf new file mode 100644 index 0000000..f197a47 --- /dev/null +++ b/Tools/RemoveTreesAround.sqf @@ -0,0 +1,12 @@ +_pos = getpos player; +_alltrees = nearestobjects [_pos,[],25]; +{ +_pinus = ['pinus',str _x] call BIS_fnc_inString; +_ficus = ['ficus',str _x] call BIS_fnc_inString; +_wreck = ['wreck',str _x] call BIS_fnc_inString; +_stone = ['stone',str _x] call BIS_fnc_inString; +if (_pinus || _ficus || _wreck || _stone) then { +_x hideObjectGlobal true; +}; + +} foreach _alltrees; \ No newline at end of file