Files
gymkhana-actions/docs/api/PlaySndCommand.md
Dennis Ploeger c8958e7454 Issue 377 (#383)
* feat: Implements speech fixes #377

* docs: Automatic update of API docs

* chore: Updated speech translation.

Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-09-06 08:52:16 +02:00

729 B

PlaySndCommand

Extends: ESCBaseCommand < Node

Description

play_snd file [player]

Plays the sound specificed with the "file" parameter on the sound player player, without blocking. (player defaults to _sound)

@ESC

Method Descriptions

configure

func configure() -> ESCCommandArgumentDescriptor

Return the descriptor of the arguments of this command

validate

func validate(arguments: Array)

Validate wether the given arguments match the command descriptor

run

func run(command_params: Array) -> int

Run the command