Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 516 Bytes

File metadata and controls

22 lines (17 loc) · 516 Bytes

Object Locator

A small library to locate objects for Overgrowth. It is still work in progress, breaking API changes in the future are likely.

Example

#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"));
    });
}