• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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,198
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