Hey there, does someone know some GOs that makes music or something like that?
Or maybe someone has got some sql´s?
I only know the "Troll Drum Object".. Thanks for any help!
E: and maybe some skyboxes?^^
Hey there, does someone know some GOs that makes music or something like that?
Or maybe someone has got some sql´s?
I only know the "Troll Drum Object".. Thanks for any help!
E: and maybe some skyboxes?^^
Last edited by baboch; 06-21-2010 at 04:57 AM.
Troll dru- damn that's the only one I know as well, haha. xD
But on a serious note, that's the only one I know that is handled via the DB. Other sound objects are handled via the core using a simple script:
Code:// Music Doodad class MusicDoodad : public CreatureAIScript { public: ADD_CREATURE_FACTORY_FUNCTION(MusicDoodad); MusicDoodad(Creature* pCreature) : CreatureAIScript(pCreature) { RegisterAIUpdateEvent(1000); // Get that music playing right away! } void AIUpdate() { _unit->PlaySoundToSet(8440); // Play Darkmoon Faire music if player is in range. } }; void SetupDarkmoonFaireBarker(ScriptMgr * mgr) { mgr->register_creature_script(500000, &MusicDoodad::Create); // Darkmoon Faire Music Doodad }
ty, i only thought maybe someone made a sql with sound or sth..^^ and maybe u know a skybox object? i heard from this in another thread, i guess not in this forum but maybe someone knows more than me?