GetWarehouseByAirbase
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | GetWarehouseByAirbase | |
| Function Description: | ||
| File Location: | cmm.AirBaseFunctions.lua | |
| Syntax: | CMM.GetWarehouseByAirbase( table or string AirB ) | |
| Return Value: | table or nil | |
| Parameters: | Name | Description |
| AirB | An Airbase object or the name of an airbase. | |
| Example: | CMM.GetWarehouseByAirbase(Airbase.getByName("Akrotiri")) | |
| Example Description: | Retrieves the full warehouse object of the given airbase and logs the action. | |
| Related Functions: | ||
| Notes: | ||