mirror of
https://github.com/Ignatz-HeMan/Ignatz_Tools.git
synced 2024-08-30 16:12:11 +00:00
More mini Tools
This commit is contained in:
parent
2900271835
commit
2d9f9a3d7e
5
Tools/Epoch_LootSpawner.sqf
Normal file
5
Tools/Epoch_LootSpawner.sqf
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
[_x] call EPOCH_spawnLoot;
|
||||
EPOCH_lootObjects = [];
|
||||
EPOCH_LootedBlds = []
|
||||
} foreach (nearestobjects [player,["building"],200])
|
12
Tools/RemoveTreesAround.sqf
Normal file
12
Tools/RemoveTreesAround.sqf
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user