Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Categories

Dark Dreams of Furiae - a new module for NWN:EE! Buy now
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: 10
edited May 2019 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.