-
-
Notifications
You must be signed in to change notification settings - Fork 4
Tips And Tricks For Setting Simulator Values
Max Paperno edited this page Feb 15, 2022
·
5 revisions
16383 * (percent / 100)
or eg. for 5%: 16383 * 0.05
16383 * -0.15
${value:MSFSTouchPortalPlugin.Engine.State.ThrottleEngine1} * 163.83 + 16383 * 0.05
^^^^^^^^ ^^^^^^^^^^^^
Convert % to 0-16383 range. Add 5% of full range.
Add 1000' to currently set AP altitude hold value:
${value:MSFSTouchPortalPlugin.AutoPilot.State.AutoPilotAltitudeVar} + 1000
The other AP settings work the same, just use the corresponding state variable.
Increments heading in 5° steps and wraps around to 0 after 355 (due to modulo operator):
(${value:MSFSTouchPortalPlugin.AutoPilot.State.AutoPilotHeadingVar} + 5) % 360
- Home
- Plugin Reference MSFS 20/24
- Plugin Reference FS-X/P3D/SimConnect
- Pages Buttons and Graphics
- Using Custom States and Simulator Variables
- Multiple Touch Portal Device Setup
- Tips And Tricks For Setting Simulator Values
- Reverse Polish Notation Tips
- List of Published Touch Portal Pages for MSFS Plugin
- Using With MobiFlight (outdated)