Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Neverwinter Nights: Enhanced Edition has been released! Visit nwn.beamdog.com to make an order. NWN:EE FAQ is available.
Soundtracks for BG:EE, SoD, BG2:EE, IWD:EE, PST:EE are now available in the Beamdog store.
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

Instantiate sound object from palette?

Gerad_VizagaGerad_Vizaga Member Posts: 7
edited May 23 in Builders - Scripting
Hi all,

So there is a specific sound I am trying to play in the game, on demand through an item special ability. But apparently the sound I want to use is not a mono sound, so PlaySound() won't work..

I believe it is "as_fanfare_horn". It's an awesome Inception-like horn, great for a bugle item. But I can't play the sound because it isn't a mono sound.

My server doesn't use haks, so I'm trying to do this without them.

The idea would be to create the sound object containing the horn sound in the area, play the sound, and then delete the object afterwards on a delay. The only problem is that CreateObject() doesn't seem to work with sound objects, according to the function's comments.

Is it possible to do what I want to do?

Thanks for the help!

Gerad

Comments

Sign In or Register to comment.