and that why problem? if i do action only in ,,if'' then all other desctructible leave alone what dont fit to if condition.
i dont understand what u mean, when u do pick than its count every unit/destructible who fit the condition in picked function (so all destructible around a point) then make a loop(example if 5 tree have around the point then from tree 1->tree5) and do action with each unit.
see the unit group by player do also same, filter the unit with a function, every pick unit do filtering with function where u give more condition than 1 just its do when WE convert the trigger to jass at save map so u can use the if since game also do it, since at pick all destructible dont have that much option than at pick all unit .
JASS:
function GetUnitsInRectOfPlayer takes rect r, player whichPlayer returns group
local group g = CreateGroup()
set bj_groupEnumOwningPlayer = whichPlayer
call GroupEnumUnitsInRect(g, r, filterGetUnitsInRectOfPlayer)
return g
endfunction