November 29, 200520 yr Moderator That depends on what method you are using to play the file to begin with... Some, such as gaugesound.dll provide a start/stop flag in the parameter list.One method that will always work however is to simply program your own flag:if (condition && playonce) { play sound; playonce = true; }Use whatever code triggers the sound to set playonce = false... Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
Create an account or sign in to comment