I'm trying to generate a random number within a certain range in Visual Script but I can't seem to find the node for the randi_range function as mentioned in the docs: https://docs.godotengine.org/en/stable/classes/class_randomnumbergenerator.html#class-randomnumbergenerator-method-randi-range.
randi_range
I tried adding the Rand node and looking for the randi_range function in the inspector but it isn't there.
Rand
The script is attached to a Spatial node.
I am on the 3.2.2.beta4 version of Godot on Windows 10.
Not sure if that is missing, but you can code it yourself.
number = rand() % (max_range - min_range) + min_range
That is pseudo code, you should be able to do that in visual script I bet.
I know it's late answer but there's not much VS examples so it's never too late for VS.
You can use fmod like this: