MusicState ​
Inherits: Resource
A state of a Dynamic Music: a name the game can ask for ("Explore", "Combat", "Boss enraged") and the part that plays in it. Several states can play the same part (with a different intensity). The game changes the state from an encounter, a boss phase, an event or the combat state of the party. See docs: Audio > Dynamic Music.
Properties ​
String | name | "" |
String | part | "" |
float | intensity | -1.0 |
Methods ​
String | describe() |
Property descriptions ​
String name = "" ​
The name of the state. A state called Combat is chosen by itself while the party fights
String part = "" ​
The part that plays in this state (a part of the music, by name)
float intensity = -1.0 ​
The intensity (0 to 1) the music goes to when this state starts, which fades the layers in and out. -1 = leave it as it is
Method descriptions ​
String describe() ​
The title of the state in the editor