Rigs of Rods 2026.01
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
28
39 void setForceDisabled(bool disabled);
40
47
54
60 bool toggleIAS();
61
65 bool toggleGPWS();
66
71 int adjustHeading(int addedHeading);
72
77 int adjustAltitude(int addedAltitude);
78
83 int adjustVerticalSpeed(int addedVS);
84
89 int adjustIAS(int addedIAS);
90
97
104
110
116
122
128
134
140
146
152
158};
159
162
163} //namespace Script2Game
Binding of RoR::Autopilot.
bool getIASMode()
Returns whether the auto-throttle is engaged.
int adjustVerticalSpeed(int addedVS)
Adds addedVS to the current vertical speed.
float getHorizontalApproachDeviation()
Returns the deviation (in degrees) from the ILS localizer, if available.
int getAltitudeValue()
Gets the current altitude value.
APHeadingMode getHeadingMode()
Gets the current heading mode.
APAltitudeMode getAltitudeMode()
Gets the current altitude mode.
bool isILSAvailable()
Returns whether the ILS is available.
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.
int getIASValue()
Gets 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.
int getHeadingValue()
Gets the current heading value.
void setForceDisabled(bool disabled)
Forces the autopilot to be enabled/disabled.
void disconnect()
Disconnects the autopilot.
APAltitudeMode toggleAltitude(APAltitudeMode altitudeMode)
Sets or toggles the altitude modes.
int getVerticalSpeedValue()
Gets the current vertical speed value.
bool getGPWSMode()
Returns whether the GPWS is engaged.
bool getForceDisabled()
Returns whether the autopilot has been disabled forcefully.
float getVerticalApproachDeviation()
Returns the deviation (in degrees) from the ILS glideslope, if available.
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
APAltitudeMode
Altitude modes for the autopilot system.
APHeadingMode
Heading modes for the autopilot system.