|
Ground of Aces Scripting API
|
This class is available under a global airplane_api variable.
More...
Public Member Functions | |
| string | GetPilot (uint airplaneId) |
| Get pilot assigned to an airplane. | |
| float | GetAirplaneHealth (uint airplaneId) |
| Get the health value of an airplane. | |
| void | SetAirplaneHealth (uint airplaneId, int healthValue) |
| Set the health value of an airplane. | |
| void | AddAirplaneHealth (uint airplaneId, int healthValue) |
| Add a value the health value of an airplane. | |
| float | GetAirplaneIntegrity (uint airplaneId) |
| Get the integrity value of an airplane. | |
| uint | GetAirplaneParkingLot (uint airplaneId) |
| Get the parking lot assigned to an airplane. | |
| void | ReduceAirplaneFuel (uint airplaneId, int fuel) |
| Reduce the fuel level of an airplane. | |
This class is available under a global airplane_api variable.
|
inline |
Add a value the health value of an airplane.
| airplaneId | ID of the airplane |
| healthValue | Value to add to the airplane health |
|
inline |
Get the health value of an airplane.
| airplaneId | ID of the airplane |
|
inline |
Get the integrity value of an airplane.
| airplaneId | ID of the airplane |
|
inline |
Get the parking lot assigned to an airplane.
| airplaneId | ID of the airplane |
| Exception | No parking lot found |
|
inline |
Get pilot assigned to an airplane.
| airplaneId | ID of the airplane |
|
inline |
Reduce the fuel level of an airplane.
| airplaneId | ID of the airplane |
| fuel | amount of fuel reduction |
|
inline |
Set the health value of an airplane.
| airplaneId | ID of the airplane |
| healthValue | New health value of airplane |