|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
getset |
The ID of the music that plays when this NPC is on or near the screen. Defaults to -1, which means music plays normally.
Note: This property gets ignored if the game would not play music for this NPC by default (i.e. it's not a boss, or it doesn't belong to an invasion)
Will be superseded by ModSceneEffect. Kept for legacy.
Definition at line 62 of file ModNPC.cs.
Referenced by Terraria.Main.UpdateAudio_DecideOnNewMusic(), and Terraria.Main.UpdateAudio_DecideOnTOWMusic().