Searching For & Reclaiming Map Features
How would i make a builder search for map features and reclaim them?
You can use map:GetMapFeatures() to retrieve all the map features, it can also take 2 parameters, a position, and a radius.
This will return a table of feature objects, which has 3 methods:
feature = ... integer feature:ID() string feature:Name() Position feature:GetPosition()
You have 2 ways of reclaiming a feature.
engineunit:Reclaim(feature) engineunit:AreaReclaim(feature:GetPosition(),10)