Rigs of Rods 2023.09
Soft-body Physics Simulation
Loading...
Searching...
No Matches
AutopilotClass.h
Go to the documentation of this file.
1namespace Script2Game {
2
16{
17 // PLEASE maintain the same order as in 'bindings/AutopilotAngelscript.cpp' and 'gameplay/AutoPilot.h'
18public:
22 void disconnect();
23
29 APHeadingMode toggleHeading(APHeadingMode headingMode);
30
37
43 bool toggleIAS();
44
48 bool toggleGPWS();
49
54 int adjustHeading(int addedHeading);
55
60 int adjustAltitude(int addedAltitude);
61
66 int adjustVerticalSpeed(int addedVS);
67
72 int adjustIAS(int addedIAS);
73
79
85
90
94 APHeadingMode getHeadingMode();
95
100
105
110
115
120
125
130};
131
134
135} //namespace Script2Game
Binding of RoR::Autopilot.
int adjustVerticalSpeed(int addedVS)
Adds addedVS to the current vertical speed.
APHeadingMode getHeadingMode()
APAltitudeMode getAltitudeMode()
int adjustHeading(int addedHeading)
Adds addedHeading to the current heading.
int adjustAltitude(int addedAltitude)
Adds addedAltitude to the current altitude.
int adjustIAS(int addedIAS)
Adds addedIAS to the current airspeed reference for the auto-throttle.
bool toggleIAS()
Toggles the auto-throttle.
bool toggleGPWS()
Toggles the ground proximity warning system (GPWS).
APHeadingMode toggleHeading(APHeadingMode headingMode)
Sets or toggles the heading modes.
void disconnect()
Disconnects the autopilot.
APAltitudeMode toggleAltitude(APAltitudeMode altitudeMode)
Sets or toggles the altitude modes.
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
APAltitudeMode
Altitude modes for the autopilot system.