Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Can't find variable: random

Hi everyone,

Having an odd problem as of late (using Twine 2.1.1)

I have a common expressions:
(set: $variableName to random(0,10))

~or~
(set: $someVariable to $someVariable - random(0,10))

And both throw up this error:
Can’t find variable: random
I’ve used this syntax plenty of times without error, and not I can’t figure out what’s wrong.

Thanks!

Comments

Sign In or Register to comment.