# void Squad::SetCmd(int, int, int, str, Obj)

[Family: Squad](/imperivm/en/CKS/familias/squad/)

## Exact signature

```text
void Squad::SetCmd(int, int, int, str, Obj)
```

## Description

Updates squad command state and submits an object-target command to eligible member units.

## Parameters and return type

**Return type:** `void`

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

| Position | Type |
| --- | --- |
| 1 | `int` |
| 2 | `int` |
| 3 | `int` |
| 4 | `str` |
| 5 | `Obj` |

## Other overloads

Check the exact signature. A description of one overload does not automatically document the others.

- [`void Squad::SetCmd(int, int, int, str)`](/imperivm/en/CKS/reference/api-5f0f1450470c42/)
- [`void Squad::SetCmd(int, int, int, str, point)`](/imperivm/en/CKS/reference/api-7a58b8738c1408/)

## Read and share

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

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