# int ShipNeeds(int, int)

[Family: Global](/imperivm/en/CKS/familias/global/)

## Exact signature

```text
int ShipNeeds(int, int)
```

## Description

Reads a 32-bit value from the AI table using the LSA and player indices. The value meaning is not documented.

## Parameters and return type

**Return type:** `int`

| Position | Type |
| --- | --- |
| 1 | `int` |
| 2 | `int` |

## Read and share

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

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