SetMusicStateAction ​
Inherits: EventAction < Resource
Changes the state of a Dynamic Music: the scene gets tense, the boss is enraged, the quest is done. The music that plays changes by its transition rule for the change (when, where the new part starts, the fade). Choose a Dynamic Music to start it in that state when another music plays. See docs: Audio > Dynamic Music.
Properties ​
String | state_name | "" |
int | dynamic_id | 0 |
Methods ​
String | get_function_description() |
Property descriptions ​
String state_name = "" ​
The name of the state to go to (a state of the Dynamic Music)
int dynamic_id = 0 ​
The Dynamic Music (Audio > Dynamic Music). 0 = the one that plays now. A music that is not the one that plays is started in the state, as the music of the event
Method descriptions ​
String get_function_description() ​
Return a description of this action with parameter placeholders (from EventAction)