mirror of
https://github.com/iTracerFacer/DCS_MissionDev.git
synced 2025-12-03 04:14:46 +00:00
12 lines
405 B
Lua
12 lines
405 B
Lua
|
|
CargoEngineer = UNIT:FindByName( "Engineer" )
|
|
InfantryCargo = AI_CARGO_UNIT:New( CargoEngineer, "Engineer", "Engineer Sven", "81", 2000, 25 )
|
|
|
|
CargoCarrier = UNIT:FindByName( "Carrier" )
|
|
|
|
-- This call will make the Cargo run to the CargoCarrier.
|
|
-- Upon arrival at the CargoCarrier, the Cargo will be Loaded into the Carrier.
|
|
-- This process is now fully automated.
|
|
InfantryCargo:Board( CargoCarrier )
|
|
|