Quick Reference
Actions 1
| resume() | After a map's events were made (a transfer, a save loaded): the followers that ride are on their vehicles aga… |
Other 5
| riders() | The followers that ride, in the line's order, each with its vehicle: [{ follower, event }]. |
| form() | The leader is seated: each follower of the line that finds a free vehicle near takes it. |
| disband() | The ride is over: each convoy vehicle is parked where it stands, and its rider is a follower on foot again. |
| follow() | One tick of the convoy, after the leader's own: where the leader is goes onto the trail, and each convoy vehi… |
| shift() | The trail and the convoy's places counted from another map's corner: the map entered over a border (dx, dy ti… |
Actions
resume
static sourceConvoy.resume(moved)
After a map's events were made (a transfer, a save loaded): the followers that ride are on their vehicles again.
Other
riders
static sourceConvoy.riders()
The followers that ride, in the line's order, each with its vehicle: [{ follower, event }].
form
static sourceConvoy.form()
The leader is seated: each follower of the line that finds a free vehicle near takes it.
Details
The leader is seated: each follower of the line that finds a free vehicle near takes it. Returns how many did.
disband
static sourceConvoy.disband()
The ride is over: each convoy vehicle is parked where it stands, and its rider is a follower on foot again.
follow
static sourceConvoy.follow(p, lead, speed)
One tick of the convoy, after the leader's own: where the leader is goes onto the trail, and each convoy vehicle is put on the trail behind the one ahead of it.
Details
One tick of the convoy, after the leader's own: where the leader is goes onto the trail, and each convoy
vehicle is put on the trail behind the one ahead of it. One that has not reached the trail yet (it stood
beside it when the ride began) rides to it. speed is the leader's, signed.
shift
static sourceConvoy.shift(dx, dy, mapId)
The trail and the convoy's places counted from another map's corner: the map entered over a border (dx, dy tiles).