Jump to content
Sign in to follow this  
phjvh

addin a delay to xml

Recommended Posts

Hi folks, I am adding extra click events to xml gauges so that soundbytes will kick in when flight deck mouse clicks happen. My own recorded sound files have a slight pause at the start which allows a gauge to operate first. However some pre-recorded files actually sound as the bmp is changing, switches etc.Could someone show me a piece of xml code which would introduce a time delay, preferablly alterable? This would be to allow any switch or lever bmp to change before the sound file played. This is to simulate a confirmation call from the PNF.Regards...Kenny

Share this post


Link to post
Share on other sites

Hi,You can add in the click:...(P:Absolute Time,seconds) 2 (or the amount you need) + (>G:Var1)...Then in the value:...(P:Absolute Time,seconds) (G:Var1) > if{ (your actions) } ...Hope it helps,Jan"Beatus ille qui procul negotiis..."

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...