# ObjList GAIKA::GetAIControlledUnits(str, int, int, bool)

[Family: GAIKA](/imperivm/en/CKS/familias/gaika/)

## Exact signature

```text
ObjList GAIKA::GetAIControlledUnits(str, int, int, bool)
```

## Description

Builds an ObjList of eligible units controlled by a selected GAIKA record under class, relation and limit filters.

## Parameters and return type

**Return type:** `ObjList`

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

| Position | Type |
| --- | --- |
| 1 | `str` |
| 2 | `int` |
| 3 | `int` |
| 4 | `bool` |

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-7093689fa6ef9b.md)
- [JSON](/imperivm/CKS/api/entries/api-7093689fa6ef9b?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
