Ignatz_Tools/Tools/RemoveTreesAround.sqf
2019-09-04 22:14:37 +02:00

10 lines
232 B
Plaintext

_pos = getpos player;
_nearobjs = nearestobjects [_pos,[],25];
{
_obj = _x;
{
if (tolower (str _obj) find _x > -1) exitwith {
_obj hideObjectGlobal true;
};
} foreach ["pinus","ficus","wreck","stone"];
} foreach _nearobjs;