![]() |
|
|
|||||||
| Register | Wiki | Downloads | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
| Gauges Use this forum for all your gauges related discussions |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Module_var_none Needle
From lost in the desert of missing documentation - I have a simple question.
How does one actually tie in a C++ gauge variable to make a needle move. I have a circular gauge which goes 0-100, with 75 being the max value that should be displayed. I put in a non-linear needle. The gauge is a measure of the amount of payout in feet a refueling drogue is. So I need to drive the needle with my own variable. M$ kindly does not indicate anything other than to use MODULE_VAR_NONE... and pray. So how exactly does one tie in a variable (say, int drogue_payout) to the needle gauge? Edit: Oops this is for FS9/2004 Last edited by Capn_Geoff; 15 Mar 2009 at 13:48. |
|
#2
|
|||
|
|||
|
Figured it out....
In the callback, just set the val/pelement value, and it works like magic.! |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| VC gauge 3D needle animation smoothness | B21 | Modeling | 6 | 19 Sep 2008 20:23 |
| Needle Rotation query | Cee-Jaay | Gauges | 5 | 14 Sep 2008 19:47 |