Difference between revisions of "DCS func searchObjects"
From DCS World Wiki - Hoggitworld.com
m (1 revision imported) |
|||
Line 63: | Line 63: | ||
local ifFound = function(foundItem, val) | local ifFound = function(foundItem, val) | ||
− | foundUnits[#foundUnits + 1] = foundItem:getName | + | foundUnits[#foundUnits + 1] = foundItem:getName() |
return true | return true | ||
end | end |