Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

One shot timed event

Featured Replies

I'm having trouble getting my mind around this and could use some help. What I want to do is simulate water injection for an old military style jet using an XML gauge. I've tested the process using afterburner with a 10% boost and the results are about right. what I need to do now is limit this event to a one time only use for a max of 50 secs. I have searched the forum for timers,timed event etc. lookiing for help but what I've found hasn't been the right answer.

Hello TRY:- The timer (P:Absolute time, seconds) (L:Switch disengage timer, seconds) > if{ (>K:AFTER_BURNER_OFF) } The click (>K:AFTER_BURNER_ON) (P:Absolute time, seconds) 50 + (>L:Switch disengage timer, seconds) This works OK but not sure about Afterburner Value. (can't fly fast jets)

Paul EGLD

Thanks a lot! I'll give that a shot.

Hi,Not sure, but may be better to use:(P:Absolute time, seconds) (L:Switch disengage timer,seconds) > if{ (A:TURB ENG1 AFTERBURNER,bool) if{ (>K:TOGGLE_AFTERBURNER1) } } (A:TURB ENG1 AFTERBURNER,bool) ! if{ (>K:TOGGLE_AFTERBURNER1) } (P:Absolute time, seconds) 50 + (>L:Switch disengage timer,seconds)Jan"Beatus ille qui procul negotiis..."

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Thank you also. The first code works except I've been struggling withthe fact that afterburner is a toggle event.I'll give this a try.

Gentlemen (ladies?) I'm a happy man! That has worked just fine.I altered one of the "click" lines slightly so that this will now only work once per "turn-around".(A:TURB ENG1 AFTERBURNER,bool) ! (L:Switch disengage timer,seconds) > if{ (>K:TOGGLE_AFTERBURNER1) } Thank you again.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.