Jump to content

Home

Playing a sound using scripting


Silveredge9

Recommended Posts

The script is correct. You have to make a sound object first. Look in the _s.rim->Blueprint, Sound module files for some examples. Then you need to specify the position of the sound object in the .git file under SoundList.

Most sound object have a cutoff distance. When playing them with a script, don't be too far away from its centre or you won't hear.

 

A simpler method is to use the PlaySound(string sSoundName) command, where sSoundName is the name of the .wav in StreamSounds, but you can't freely position the sound that way.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...