• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece!🔗 Click here to enter!

Music Problem

Status
Not open for further replies.
Level 3
Joined
Sep 9, 2007
Messages
60
hey, im making like a map based in the wc lore, like, in dis game (that the map will be Azeroth) u'll be able to control a race and etc...

so i wanted to know if its possible a diff song play for each player...

like, i wanted to the naga player listen to Illidanstheme.mp3, or the player controling the humans of lordaeron to listen to Arthastheme.mp3, etc...

is dat possible?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,202
It is easily possible, simply run the musics out of sync for each player via the GetLocalPlayer() system.

Make sure that they are not on the sound channel as that is annoying as some people might no want to be forced to hear it. Also I am not sure if the GetLocalPlayer will cause it to go out of sync but as it is sound / music it should not.
 
Status
Not open for further replies.
Top