Howto:Add sound effects to aircraft: Difference between revisions

Jump to navigation Jump to search
m
Added Preventing sounds from playing when sim starts section
(Copied over from $fgdata/docs with some extra comments and additions.)
 
m (Added Preventing sounds from playing when sim starts section)
Line 314: Line 314:
</source>
</source>
where function can be one of: lin, ln, log, inv, abs or sqrt
where function can be one of: lin, ln, log, inv, abs or sqrt
== Preventing sounds from playing when sim starts ==
Some times it can be hard to prevent sounds from playing right away, if the condition starts to evaluate to true. A hack to get this to work is to multiply the volume with a property that you in nasal set to true some seconds after the sim has been initialized.


== Multiplay sound ==
== Multiplay sound ==
579

edits

Navigation menu