MusicStinger ​
Inherits: Resource
A stinger of a Dynamic Music: a short sound that plays over the music to mark a moment (the boss appears, a quest is done), and can lower the music while it plays. An event or a combat action plays it by name. See docs: Audio > Dynamic Music.
Properties ​
String | name | "" |
String | path | "" |
float | volume_db | 0.0 |
float | duck_db | 6.0 |
Methods ​
String | describe() |
PackedStringArray | validate() |
Property descriptions ​
String name = "" ​
The name of the stinger ("Boss appears"); the actions refer to it
String path = "" ​
The sound (an audio file of the library)
float volume_db = 0.0 ​
How loud it is (dB)
float duck_db = 6.0 ​
How much the music is lowered while the stinger plays (dB; 0 = not lowered)
Method descriptions ​
String describe() ​
The title of the stinger in the editor
PackedStringArray validate() ​
The warnings of this stinger