Roy Vegard Ovesen wrote:
> Is there any way to play sounds from a Nasal script?
Sort of. The current sound model is property-driven. You can create
a new sound event (see the *-sound.xml files under Aircraft for
examples) and drive it from a given set of properties. You can then
set those properties from Nasal.
There is, however, no way to load a *new* sound from Nasal. It has to
be seen by the sound manager at startup to be played at runtime. I'm
not completely sure what such an interface would look like, but it
shouldn't be hard to do. What are your requirements?
Flightgear-devel mailing list