Kuba5
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Posts posted by Kuba5
-
-
Hello, i need help with FSUIPC (C#). I want read touchdown rate (V/S) and write it to textbox. I tried this:
Offset:
private Offset<int> touchdown_rate = new Offset<int>(0x030C); // Offset pro zjištění t/d rate private Offset<short> onGround = new Offset<short>(0x0366); // Offset pro nastavení zem/vzduch
In timer:
this.onGround.Value = 1; double TouchdownRate = ((double)touchdown_rate.Value * 60D * 3.28084D / 256D); this.txttouchdown.Text = TouchdownRate.ToString();
Button for check onGround:
private void button5_Click(object sender, EventArgs e) { this.onGround.Value = 1; }
But in textbox is V/S in airborne... it´s always updating, but i want just record v/s at touchdown.. thank you very much.
P.S. Im beginner
C# touchdown rate
in FSUIPC Support Pete Dowson Modules
Posted · Edited by Kuba5
I really misunderstood this function. :mrgreen: It works now! :) Thank you very much.