Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | badtaste988 |
Hi all,
so I’ve written function for rolling a six-sided die:
func roll_a_dice():
var roll = randi() % 6 + 1
return roll
If I want to roll several dices and check results on each, what would be the simplest way to do it?
GDScript: An introduction to dynamic languages — Godot Engine (stable) documentation in English
whiteshampoo | 2020-07-21 18:43