Custom NPC Sounds?

Dipling

Spazmatism
I have A sounds folder and within that I have the 'Custom' folder, the sound works, as I tried it as an item use sound and it worked, but when I assign it to an NPC Hit Sound it refuses to play in game.
Code:
Code:
npc.HitSound = mod.GetLegacySoundSlot(SoundType.NPCHit, "Sounds/Custom/RosenHit");
npc.DeathSound = mod.GetLegacySoundSlot(SoundType.NPCHit, "Sounds/Custom/RosenHit");
My sounds folder:
1616665738336.png

Neither the hit sound or the death sound play.
 
Back
Top Bottom