mirror of
https://github.com/iTracerFacer/DCS_MissionDev.git
synced 2025-12-03 04:14:46 +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() |