• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Play music in the lobby (Host) Reforget

Level 6
Joined
Feb 21, 2020
Messages
77
Hello all!
Tell me plz how to make music play in my map lobby 🎼 (to all players who join)? When i host the game.
Reforget version!
I dont understand how to do it.
 
Level 6
Joined
Feb 21, 2020
Messages
77
Well i find and set this:


//***************************************************************************
//*
//* Map Configuration
//*
//***************************************************************************

function config takes nothing returns nothing
call SetMapName("TRIGSTR_003")
call SetMapDescription("TRIGSTR_005")
call SetPlayers(12)
call SetTeams(12)
call SetGamePlacement(MAP_PLACEMENT_TEAMS_TOGETHER)

call DefineStartLocation(0, - 14464.0, 5184.0)
call DefineStartLocation(1, - 3648.0, 16512.0)
call DefineStartLocation(2, - 3968.0, 14016.0)
call DefineStartLocation(3, - 8768.0, 5056.0)
call DefineStartLocation(4, - 14400.0, 13952.0)
call DefineStartLocation(5, - 832.0, 4352.0)
call DefineStartLocation(6, - 8768.0, 2816.0)
call DefineStartLocation(7, 0.0, 9728.0)
call DefineStartLocation(8, - 768.0, 3200.0)
call DefineStartLocation(9, - 2752.0, 16128.0)
call DefineStartLocation(10, - 6592.0, 2240.0)
call DefineStartLocation(11, - 10688.0, 11968.0)

// Player setup
call InitCustomPlayerSlots()
call InitCustomTeams()
call InitAllyPriorities()
call PlayMusic( "war3mapImported\\Music01.mp3" )
endfunction

But it doesn't work :(
war3mapImported\\Music01.mp3 - my music.
 
Top