June 24, 20187 yr Hello, I'm trying to set up a new aircraft module for the Carenado SR22T. This helps me to get used to Linda and Lua-script writing. I asked myself how getting knob sounds is done. It seems to be that these are FSX/P3D internal controls. But I can't figure out how to set this up even if I saw in other scripts how this is written in a function. Can anyone help me ? Example: function Ice_Protection_On() ipc.writeLvar("SR22_Ice_Protection_Knob", 1) ipc.control(_?_) -- What goes here ? end
June 24, 20187 yr The LINDA function Sounds(“sound-file”) will play the sound-file.wav in the FltSim/sounds folder. You needs to identify a .wav that provides the switch sound you require. Andrew Gransden Scotland, UK LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew
June 24, 20187 yr Author This solution already appeared in other posts I read here. I'll give it a try. Thanks for helping.
Archived
This topic is now archived and is closed to further replies.