Is it possible to stop or completely remove Dota 2 music from custom game?
Not just constant music, but also death music and reincarnation music.
I've tried things like:
GameRules:SetCustomGameAllowHeroPickMusic(false) GameRules:SetCustomGameAllowBattleMusic(false) GameRules:SetCustomGameAllowMusicAtGameStart(false) StopSoundEvent("DOTAMusic.Death", killedUnit) killedUnit:GetPlayerOwner():SetMusicStatus(DOTA_MUSIC_STATUS_NONE, 0.0)
but none of them work