RPC on functions that call to RNG

Godot Version

4.6

Question

When Remote Proceedure Calling a rpc() marked function that has a randomization method like randi() as the host, will the clients get the same result or a different result?

You need to explicitly use the same seed to get the same random value.

Check this article in the docs:

Ahh right so it would be different. Yeah gonna have to make sure the host and clients share an rng seed