Jump to content
The simFlight Network Forums

Kuba5

new Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Kuba5

  1. 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

    post-41295-0-22801500-1357230651.jpg

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.