FSDeveloper Community

Go Back   FSDeveloper Community > Microsoft Flight Simulator development > Aircraft Design > Gauges

Gauges Use this forum for all your gauges related discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 30 Dec 2006, 10:19
roddi roddi is offline
  germany
Join Date: Dec 2006
Posts: 2
noob xml question

hi,

i want do indicate if a door is open or not. The script should return bool.
in a pannel xml file i have found this working code to check the main exit:

<Script>(A:CIRCUIT GENERAL PANEL ON, bool) 1 == if{ (A:EXIT OPEN, bool) } els{ 0 }</Script>

i am a little confused over that. the "EXIT OPEN" should be a percent value.

however, if i try this with an other exit like this
<Script>(A:CIRCUIT GENERAL PANEL ON, bool) 1 == if{ (A:EXIT OPEN:1, bool) } els{ 0 }</Script>
the script fails. Any ideas?

Last edited by roddi; 30 Dec 2006 at 10:51.
Reply With Quote
  #2  
Old 30 Dec 2006, 11:23
roddi roddi is offline
  germany
Join Date: Dec 2006
Posts: 2
ok, i did it. the simple things are still the best

(A:EXIT OPEN:1, percent) "100.0" <
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ideas for future versions of ObPlacer XML arno ObPlacer and ObPlacer XML 19 05 Oct 2008 12:09
Prblem compileing XML to bgl sgtjoebear BGLComp XML, AFCAD, SceneGenX 4 05 Apr 2006 01:54
question on library xml woody BGLComp XML, AFCAD, SceneGenX 3 16 Oct 2005 14:26
Autogen XML - More SDK info, or XML implementation of code flightsimstudios FS wishlist 5 08 Feb 2005 05:53
ObPlacer XML 0.11 released arno ObPlacer and ObPlacer XML 0 31 Dec 2004 11:05


All times are GMT -4. The time now is 07:35.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.