as the title how to achieve random choice in godot engine
You use can use randi and randf to get random values. You can use randomize() to get a random seed for the random generator. I think there is also a random range function, though I don't remember what it's name is.
Here's the docs page that shows some of the random functions (Godot 2.1 docs)
got it thanks