Skip to content

VoicelineSFXSelection ​

Inherits: SFXSelection < Resource

Specialized SFX selection for voiceline sound effects (dialogue/conversation) Structure: character_name -> audio files (flat, no line_id)

Properties ​

Stringcharacter_name""
Stringfile_name"" # Optional specific file, empty = random

Methods ​

Array[String]get_available_characters()
Array[String]get_available_files()
AudioStreamget_sound_resource()

Property descriptions ​

String character_name = "" ​

The character who speaks.

String file_name = "" # Optional specific file, empty = random ​

The file of the voice line.

Method descriptions ​

Array[String] get_available_characters() ​

The characters the database has voice lines for.

Array[String] get_available_files() ​

The sound files the database has for the settings now (for the editor list).

AudioStream get_sound_resource() ​

The sound this selection points to, or null when it is not set.