0
Completed - Resolved

MightyScript Randomize Action

journeywithin 2 years ago updated by Lee "Noontide" Moon (Designer & Community Manager) 1 year ago 4

I am wondering if this is working as intended.  Currently this action allows 2 numbers (ie. "low" and "high") and when it activates, it chooses one or the other randomly.  This is not what I expected the function to do.


I expected the function to work like a typical rand function in other languages where low and high define the limits of the function, and a random number is generated between the limits.


ie. low = 1, high = 10

Your version: either 1 or 10 is returned

Expected version: a number between 1 and 10 is returned


Thoughts?

Game Version:
Steam Public
Platform:
Windows