Lua CollectUnits

Parameters

 * (range, entityID)


 * range
 * Range to gather units within.


 * entityID
 * ID of the entities to look for.

Details

 * type
 * List


 * value
 * All units found with the given parameters.

NOTE: This function returns a C# List<?> that has not been marshalled. It is recommended that you marshal the results into a Lua table using the provided toTable function.