Jump to content

[HELP] Sound Object


Guest Blake

Recommended Posts

Hello, I'm making new areas for my custom expansion pack for my server, and I need an object that on render it plays a audio file. (I made it have a SoundID in the DBCs already and I can play it ingame.)

Its Sound ID is 999999, I also don't know if I should do this in the database? (I really don't know much about scripting in Mangos because I'm used to Lua scripting for Arcemu.)

Could someone help me out with this?

Thank you for your time,

Blake.

Link to comment
Share on other sites

Yes, I know that but I cannot seem to get the object to do that in the DBCs. I was wondering if there was some way script it to make it do that server-side.

Theoretically, yes, but not within the current system (as far as I know) Gobjects can only be scripted with player clicks on a GO, player accepts quest from a GO, player completes quest at a GO, and something to do with gossip status or something. So, no, unless you want it to play a sound when they click on it, it's not possible.

A core hack would be, when the GO's visibility is updated (player is in range) then play a sound with the GO as the source.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use