senseimatty
03-21-2012, 08:38 AM
Hi everyone! I've this issue with the iFLY (FS2004) and OC MCP scrpit:
when allt the digits should be off (cold and dark) they show numbers "1"
CRS: 111 SPD: 1.11 HDG ALT: 11111
(V/S is not affected).
In VNAV mode, the digits that should be off (SPD) again show "1.11".
How can I edit the script in order to solve this problem?
This is the part of the script relative to the SPD digits:
Var 0525, name SPEED_100, Link IOCP, Offset 7 // SPD_100_Status
{
if &SPEED_100 > 9
{
&D_SPEED3 = -999999
&DECIMAL = 1
}
else
{
&D_SPEED3 = &SPEED_100
&DECIMAL = 0
}
}
Var 0530, name SPEED_10, Link IOCP, Offset 8 // SPD_10_Status
{
&D_SPEED2 = &SPEED_10
}
Var 0535, name SPEED_1, Link IOCP, Offset 9 // SPD_1_Status
{
&D_SPEED1 = &SPEED_1
}
Thanx in advance!
when allt the digits should be off (cold and dark) they show numbers "1"
CRS: 111 SPD: 1.11 HDG ALT: 11111
(V/S is not affected).
In VNAV mode, the digits that should be off (SPD) again show "1.11".
How can I edit the script in order to solve this problem?
This is the part of the script relative to the SPD digits:
Var 0525, name SPEED_100, Link IOCP, Offset 7 // SPD_100_Status
{
if &SPEED_100 > 9
{
&D_SPEED3 = -999999
&DECIMAL = 1
}
else
{
&D_SPEED3 = &SPEED_100
&DECIMAL = 0
}
}
Var 0530, name SPEED_10, Link IOCP, Offset 8 // SPD_10_Status
{
&D_SPEED2 = &SPEED_10
}
Var 0535, name SPEED_1, Link IOCP, Offset 9 // SPD_1_Status
{
&D_SPEED1 = &SPEED_1
}
Thanx in advance!