Jump to content

Need help Scripting XML Gauge


BobMc

Recommended Posts

Sorry this is probably on the wrong part of the forum. I can't do anything about it now as far as I know.

 

I'm trying to assign a sound to a switch on a panel using dsd_fsx_xml_sound and I need help. My goal is to have a sound loop when the switch is on and have it stop when the switch is off. I can get the path to the sound file from the gauge working, but when I program the sound to trigger the switch no longer moves and the sound gets stuck on. Using my very limited knowledge of xml I placed 2 (>L:dsd_fsx_sound_id_02, number) in the script beside (A:Hydraulic Switch:3, bool). The section of the file I'm working with is below. If someone knows what I am doing wrong or knows something I don't about making this work, please help me.

 

85.000,166.000

0.000

1.000

0.000

True

1.000

True

Link to comment
Share on other sites

Doug Dawson, the author of dsd_fsx_xml_sound can be found over at the FSDeveloper forums. He's always willing to answer questions there.

Robert Kerr

3D Modeler & Texture Artist

I7 4790K @ 4.4ghz, GTX-970 w/4GB, 8gb DDR 3 RAM, two SSDs, and Win 7 64 bit.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...