0 votes

I wanna know how to randomize a video playing, so it does sometimes and it doesn't.
So my current approach is randomize a number and if i pick a certain number, it will play. or turn on the VideoPlayer node.

Godot version Godot v3.2.3 mono
in Engine by (23 points)

random numbers sound good, why would you want to do it in a different way? is there something you're not achieving with your current method?

1 Answer

0 votes

There are two different questions:

Let me know if you need more help with this script. I guess you have to listen for the 'finished' signal in order to play it again or wait some time.

by (74 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.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.