Script Managed Entity Arrays

int CreateScriptManagedEntArray()

Returns the index of the new array

void AddToScriptManagedEntArray(int index, entity ent)
void RemoveFromScriptManagedEntArray(int index, entity ent)
int GetScriptManagedEntArrayLen(int index)
array<entity> GetScriptManagedEntArray(int index)

Get the script managed ent array for the given index

array<entity> GetScriptManagedEntArrayWithinCenter(int index, int notTeam, vector origin, float dist)

Get the script managed ent array for the given index within distance of a point