diff --git a/api/dev/library/OpenRA.lua b/api/dev/library/OpenRA.lua index 5497d87..9c959fb 100644 --- a/api/dev/library/OpenRA.lua +++ b/api/dev/library/OpenRA.lua @@ -615,7 +615,7 @@ Reinforcements = { --- Send reinforcements in a transport. A transport can be a ground unit (APC etc.), ships and aircraft. The first member of the entryPath array will be the spawnpoint for the transport, while the last one will be its destination. The last member of the exitPath array is be the place where the transport will be removed from the game. When the transport has reached the destination, it will unload its cargo unless a custom actionFunc has been supplied. Afterwards, the transport will follow the exitPath and leave the map, unless a custom exitFunc has been supplied. actionFunc will be called as actionFunc(Actor transport, Actor[] cargo). exitFunc will be called as exitFunc(Actor transport). dropRange determines how many cells away the transport will try to land if the actual destination is blocked (if the transport is an aircraft). Returns a table in which the first value is the transport, and the second a table containing the deployed units. ---@param owner player ---@param actorType string - ---@param cargoTypes string[] + ---@param cargoTypes string[]|nil ---@param entryPath cpos[] ---@param exitPath? cpos[] ---@param actionFunc? function diff --git a/api/release-20231010/library/OpenRA.lua b/api/release-20231010/library/OpenRA.lua index c105ddf..26ccc48 100644 --- a/api/release-20231010/library/OpenRA.lua +++ b/api/release-20231010/library/OpenRA.lua @@ -614,7 +614,7 @@ Reinforcements = { --- Send reinforcements in a transport. A transport can be a ground unit (APC etc.), ships and aircraft. The first member of the entryPath array will be the spawnpoint for the transport, while the last one will be its destination. The last member of the exitPath array is be the place where the transport will be removed from the game. When the transport has reached the destination, it will unload its cargo unless a custom actionFunc has been supplied. Afterwards, the transport will follow the exitPath and leave the map, unless a custom exitFunc has been supplied. actionFunc will be called as actionFunc(Actor transport, Actor[] cargo). exitFunc will be called as exitFunc(Actor transport). dropRange determines how many cells away the transport will try to land if the actual destination is blocked (if the transport is an aircraft). Returns a table in which the first value is the transport, and the second a table containing the deployed units. ---@param owner player ---@param actorType string - ---@param cargoTypes string[] + ---@param cargoTypes string[]|nil ---@param entryPath cpos[] ---@param exitPath? cpos[] ---@param actionFunc? function