Results 1 to 6 of 6
Thread: SIOC Question
-
10-16-2013, 10:18 PM #1
- Join Date
- Aug 2008
- Location
- Dallas, Texas
- Posts
- 192
SIOC Question
How do you use the testbit function to turn off rather than turn on a led?
EX. This is on the Project Magenta B747-400 Overhead Panel
Var 0590, name DRIVE_DISC, Link FSUIPC_INOUT, Offset $5635, Length 2
{
V0631 = TESTBIT V0590 ,4 I want this led (V0631) to turn off when
V0632 = TESTBIT V0590 ,4 this led (V0632) turns on and vise versa
V0633 = TESTBIT V0590 ,5
V0634 = TESTBIT V0590 ,5
V0635 = TESTBIT V0590 ,6
V0636 = TESTBIT V0590 ,6
V0637 = TESTBIT V0590 ,7
V0638 = TESTBIT V0590 ,7
}
Jerry
-
10-17-2013, 03:07 AM #2
Re: SIOC Question
You have to add an intermediate value:
Code:C0 = TESTBIT v0590, 4 IF C0 { v0631 = 0 v0632 = 1 } ELSE { v0631 = 1 v0632 = 0 }
Nico
-
02-14-2014, 03:49 PM #3
- Join Date
- Jan 2014
- Location
- PAN-PAN
- Posts
- 18
Re: SIOC Question
Does anyone have a SIOC script for cold and dark for default FSX and the OC MCP?
-
02-14-2014, 04:08 PM #4
- Join Date
- Jan 2014
- Location
- PAN-PAN
- Posts
- 18
Re: SIOC Question
Does anyone have a SIOC script for cold and dark for the FSX default 737 and the OC MCP?
-
02-14-2014, 04:11 PM #5
- Join Date
- Jan 2014
- Location
- PAN-PAN
- Posts
- 18
Re: SIOC Question
Does anyone have a SIOC script for cold and dark for the FSX default 737 and an OC MCP?
-
02-14-2014, 10:19 PM #6
- Join Date
- Jan 2014
- Location
- PAN-PAN
- Posts
- 18
Re: SIOC Question
Sorry, I guess I don't know how to post here either.....
Pretty Girls from your city for night
Generic Analog Gauges