Jump to content
The simFlight Network Forums

RNAV05

new Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Australia

RNAV05's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Ok, Could you elaborate on this aspect: "- you'd be better using the event.control function instead. In your example, for instance, you'd hook the Gear Toggle or Gear Down controls instead of just the keypress -- then it would work for buttons and switches too." :) Of course your referring to linking in the actual button on my controller that initiates the key press. Hence, the initating button is checked against the condition first. ......a little late here on this side of the planet :o
  2. Hi Peter, First time on these forums, although I have been reading and searching your posts over the last couple of days. Other than that I'm a real noob (as they say) with FSUIPC + Lua. Have experience with CH scripting, but FSUIPC and Lua just add a new dimension to it all. Basically I wanted to demonstrate the power of FSUIPC and test a few lines with conditions, as below: [Keys.PMDG B1900C] 1=76,10,65751,0 2=78,11,66379,0 3=66,11,66239,0 4=83,11,65560,0 5=79,8,66378,0 6=84,11,66240,0 7=76,8,66376,0 8=D0574>3048 66,9,66846,0 I actually used 900m for testing purposes :) 9=D0574<3048 66,8,65584,0 11=D02BC<23040 71,9,66080,0 12=W0366=0 71,8,66079,0 Description: For those browsing by, lines 8 & 9 set a condition such that the plane must be greater than FL100t to set BAROMETRIC STD PRESSURE(66846) - SHIFT b. Thus, it must be below FL100 to set BAROMETRIC - B. Line 11 Sets a condition such that the IAS must be undert 180kts IAS (23040/128=180), for GEAR DOWN(66080) - SHIFT g. Line 12 is from page 20 of the advanced users guide. Question: So with regards to the script above, is it possible to replicate keypress commands with thier offset conditions, just using Lua? For example, relicating Line 11 in Lua code - Gear Down key will Not work until the IAS< 23040 Best Regards John
×
×
  • 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.