Hey there!
I’m trying to get an if statement working with var DiscSpawning : int = GetRandomInt(MinDisc, MaxDisc)
For example if the random int is = 1 it should print (“1”)
Greetings!
Hey there!
I’m trying to get an if statement working with var DiscSpawning : int = GetRandomInt(MinDisc, MaxDisc)
For example if the random int is = 1 it should print (“1”)
Greetings!
Here are two answers (from memory, hope I don’t get it wrong)
if (DiscSpawning = 1):
print("1")
# OR...
if (DiscSpawning = 1):
print("{DiscSpawning}")