0 votes

How do you access AudioStreams or Texture via gd script, and how can you use the export keyword to change the Audiostream in the editor?

Example case:

A script that extends AudioStreamPlayer that plays an intro then switches to the main music on intro end.

Thanks in advance,


asked Feb 23, 2018 in Engine by Wolf Win (12 points)

1 Answer

0 votes

Why do you need to know the lengh?


there is a signal called finished. When the the thing is done, then the signal will call whatever function you created

answered Apr 4, 2018 by hungrymonkey (427 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.