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
Help AVSIM continue to serve you!
Please donate today!

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