# bool Squad::SendFoodWagon(int, int)

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

## Exact signature

```text
bool Squad::SendFoodWagon(int, int)
```

## Description

Selects an eligible nearby food wagon (scanning existing wagons and buildings that can spawn one) and constructs/enqueues a "follow" command targeting a hero; its own selection algorithm is substantially richer than a simple nearby-wagon scan.

## Parameters and return type

**Return type:** `bool`

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

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

## Read and share

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

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