TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ DeathSound

SoundStyle? Terraria.NPC.DeathSound

The sound that plays when this npc dies. Set this to an existing T:Terraria.ID.SoundID entry or assign to a new T:Terraria.Audio.SoundStyle for a custom sound.
The Basic Sounds Guideteaches how to find existing sounds to use, how to use custom sounds, and how to customize the playback properties of the sounds.
For example NPC.DeathSound = SoundID.NPCDeath1; can be used for the typical NPC kill sound.
Defaults to null.

Definition at line 1067 of file NPC.cs.

Referenced by Terraria.NPC.AI_113_WindyBalloon(), Terraria.NPC.AI_125_ClumsySlimeBalloon(), Terraria.NPC.checkDead(), Terraria.NPC.SetDefaults(), and Terraria.NPC.VanillaAI_Inner().