MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
Ridgeandgable
Posts: 131
Hi Guys

Looking for a quick and rough way to play a sound "Jet2 Passanger Safety Announcement" when I press a button, Is this possible?
2020-04-27 16:39
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi
Google for "FSUIPC Lua Sound Library"

I not script this myself but it hould be possible to run this in multiple ways....

As a Macro.... That play a sound each time you fire it ( Via Lua Macro Function in MF)

As a All time running script that observe a Offset ..... In that case it will run if Offset is "1" e.g. .... So we write the Offset and the script see this

As a intigrated logic that have a Sim internal Indicator..... For example you can say IF Engine Start Switch is used on the Left ENG1 then play the sound...... Or something like Play sound if Gear is down and Speedbrake is in ARM Position or so..... Simply a pecial condition that happen exactly at the moment you need the sound and only then !
Good Luck !
2020-04-27 17:54
icon