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

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

## Exact signature

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

## Description

Updates squad state and flags and submits named zero-argument commands to 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` |

## Other overloads

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

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

## Read and share

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

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