# void Squad::SetState(int)

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

## Exact signature

```text
void Squad::SetState(int)
```

## Description

updates a squad's internal state code and records the transition timestamp.

## 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` |

## Other overloads

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

- [`void Squad::SetState(int, int, int)`](/imperivm/en/CKS/reference/api-99d1b5cc7a1636/)

## Read and share

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

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