A small library to locate objects for Overgrowth. It is still work in progress, breaking API changes in the future are likely.
#include "object_locator/object_locator.as"
ObjectLocator locator;
array<Object@> GetObjects(){
return locator.LocateByScriptParams(function(_params){
if (!_params.HasParam("Name")){
return false;
}
return ("foo" == _params.GetString("Name"));
});
}