What would be the syntax for assigning GetRandomInt to a variable?

Above. For exampe, I have tieBreak as an int and I want whatever GetRandomInt spits out and assign it to tieBreak so I can use it.

var tieBreak : int = GetRandomInt(min value, max value)

You might want to check out this page: Verse Language Quick Reference

1 Like

apersonbeing is correct.
You could also skip the ‘var’ and just do
tieBreak : int = GetRandomInt(SomeMinValue, SomeMaxVAlue)

if you never want the tieBreak value to change after you’ve assigned it once.

1 Like