PrepareAirbaseSaveData
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | PrepareAirbaseSaveData | |
| Function Description: | ||
| File Location: | cmm.AirBaseFunctions.lua | |
| Syntax: | CMM.PrepareAirbaseSaveData( table or string ABObject ) | |
| Return Value: | table or nil | |
| Parameters: | Name | Description |
| ABObject | An airbase object (or its name) whose persistence data will be loaded from the directory. | |
| Example: | CMM.LoadAirbasePersistenceFile(Airbase.getByName("Akrotiri"), "C:\\Mission\\AIRBASES\\") | |
| Example Description: | Loads the persistence file for Akrotiri from the specified directory, restoring its weapons, aircraft and coalition ownership. | |
| Related Functions: | ||
| Notes: | ||