bool Squad::SendFoodWagon(int, int)
SendFoodWagon · Squad
Exact signature
Section titled “Exact signature”bool Squad::SendFoodWagon(int, int)Description
Section titled “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
Section titled “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
Section titled “Read and share”Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.