Skip to content

44 — Truck unload

Changes every loaded truck in the team into the empty truck type, without moving any cargo.

Editor data
Numeric ID
44
Engine ID
TMISSION_UNLOAD_TRUCK
Editor name
Truck unload
Need token
NEED_NONE
Parameters
None
Caveats
  • The two vehicle types are fixed in the engine: a member of type TRUCKB, the loaded truck, becomes type TRUCKA, the empty one. No other pair can be used, and members of every other type are passed over.
  • The member takes on everything its new type sets, including its artwork. Its current health is kept.
  • Keep a TRUCKA vehicle type defined while any team can run this line on a TRUCKB. Without one, the truck is given an invalid type and the game can crash.
  • The line does not hold the team: it runs once and the team takes the next line of its script on the following turn.