CutsceneAction ​
Inherits: EventAction < Resource
Action to play or stop an in-game cutscene Uses UIContainer.cutscene_container (InGameCutScenePlayer) Pauses all game audio during playback
Properties ​
CutsceneCommand | command | CutsceneCommand.PLAY |
PackedScene | cutscene_scene | |
bool | wait_for_completion | true |
Methods ​
String | get_function_description() |
Dictionary | save() |
void | load_data( data: Dictionary ) |
Enumerations ​
enum CutsceneCommand ​
The options of cutscene command: play, stop.
- PLAY =
0 - STOP =
1
Property descriptions ​
CutsceneCommand command = CutsceneCommand.PLAY ​
Command to execute (play or stop)
PackedScene cutscene_scene ​
Cutscene scene to play (only used when command is PLAY, must be InGameCutScenePlayer)
bool wait_for_completion = true ​
Whether to wait for the cutscene to finish before completing action (only used when command is PLAY)
Method descriptions ​
String get_function_description() ​
Return a description of this action with parameter placeholders
Dictionary save() ​
Save action state to a dictionary
void load_data( data: Dictionary ) ​
Load action state from a dictionary