CinematicAction ​
Inherits: EventAction < Resource
Action to play or stop a video cinematic Uses UIContainer.cinematic_player (VideoStreamPlayer) Pauses all game audio during playback
Properties ​
CinematicCommand | command | CinematicCommand.PLAY |
VideoStream | video_stream | |
bool | wait_for_completion | true |
Methods ​
String | get_function_description() |
Dictionary | save() |
void | load_data( data: Dictionary ) |
Enumerations ​
enum CinematicCommand ​
The options of cinematic command: play, stop.
- PLAY =
0 - STOP =
1
Property descriptions ​
CinematicCommand command = CinematicCommand.PLAY ​
Command to execute (play or stop)
VideoStream video_stream ​
Video stream to play (only used when command is PLAY)
bool wait_for_completion = true ​
Whether to wait for the video 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