arcticPigs release V1.0 helpefiles |
![]() |
Adds a sound file to the script and returns a soundSequence object
'AddSound' should be used to link a certain sound with some event in your script. The SoundSequence object returned will allow you to time the start and stop of the sound to actions occurring in this same script. The optional parameters in 'AddSound' allow 3D sound effects. Basically the location of the model relative to the camera will determine how the sound is played. See our sound demo elsewere on our site.
Syntax: |
soundSequence addSound(String soundname,model modelinstance, Stirng bonename) |
Return: | a soundSequence object |
Parameters: |
|
See also:
Last Updated: 06/18/02 |