[DiscordArchive] Is there a way to make an NPC play music on aggro?
[DiscordArchive] Is there a way to make an NPC play music on aggro?
Archived author: Ponshu • Posted: 2024-10-14T07:56:36.190000+00:00
Original source
Is there a way to make an NPC play music on aggro?
Archived author: Ponshu • Posted: 2024-10-14T07:56:57.961000+00:00
Original source
I see that you can make them play a sound but would that overwrite the music already in the area or is there another way I could go about it
Archived author: stoneharry • Posted: 2024-10-14T08:17:57.621000+00:00
Original source
Play music opcode
Archived author: Ponshu • Posted: 2024-10-14T08:18:51.940000+00:00
Original source
...What if I'm too stupid to know what that means
Archived author: stoneharry • Posted: 2024-10-14T08:20:05.916000+00:00
Original source
There are two packets sent server to client for sound. They take a single integer value for the sound id. Play sound and play music. Sound just plays it. Music uses the music channel and will stop current music before playing the new one
Archived author: Ponshu • Posted: 2024-10-14T08:20:55.732000+00:00
Original source
I use wowdatabase editor to do simple scripting and stuff like that would I go about setting up that music id to play on aggro through there, or would I have to go about it some other way?
Archived author: stoneharry • Posted: 2024-10-14T08:22:34.173000+00:00
Original source
No idea on that editor
![[Image: image.png?ex=690c5b96&is=690b0a16&hm=05b...af94fc089&]](https://cdn.discordapp.com/attachments/415944535718494208/1295301566051651616/image.png?ex=690c5b96&is=690b0a16&hm=05b8cf786af2609bbe570ba2edba99d59ac4fb6e8463b4b60a09893af94fc089&)
Archived author: Ponshu • Posted: 2024-10-14T08:25:58.938000+00:00
Original source
Not sure how much you can help since unfamiliar with the editor but here I can put in a soundID, if my SoundID is classified as music, if it begins to play would it cut out any other music in the area?
![[Image: image.png?ex=690c5b96&is=690b0a16&hm=05b...af94fc089&]](https://cdn.discordapp.com/attachments/415944535718494208/1295301566051651616/image.png?ex=690c5b96&is=690b0a16&hm=05b8cf786af2609bbe570ba2edba99d59ac4fb6e8463b4b60a09893af94fc089&)
Archived author: stoneharry • Posted: 2024-10-14T08:26:42.603000+00:00
Original source
No, that looks like the sound opcode rather than the music one
Archived author: stoneharry • Posted: 2024-10-14T08:27:09.212000+00:00
Original source
Honestly I've not seen many others use the music opcode, not many people writing that sort of content