mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2026-08-21 02:31:03 +00:00
11 lines
386 B
Lua
11 lines
386 B
Lua
|
|
CargoEngineer = UNIT:FindByName( "Engineer" )
|
|
InfantryCargo = AI_CARGO_UNIT:New( CargoEngineer, "Engineer", "Engineer Sven", "81", 2000, 25 )
|
|
|
|
CargoCarrier = UNIT:FindByName( "Carrier" )
|
|
|
|
-- This will Load immediately the Cargo into the Carrier, regardless where the Cargo is.
|
|
InfantryCargo:Load( CargoCarrier )
|
|
|
|
-- This will Unboard the Cargo from the Carrier.
|
|
InfantryCargo:UnBoard() |