I'm trying to concatenate a number so that it ends in the number 5 with JavaScript, but alas my understanding of java and how it works in RPGMaker means I'm having no
I wanted to have so you get a hint at three digits random digits and have to figure out the third digit by other information you run across exploring the cave.
Crude understanding of java I came up with this:
Am I even close to pulling it off or am I not even on the planet?
I'm also having trouble random generating a 3 digit number as a zero in the hundreds place.
And anyway to strip the comma out of the text when using \v[]?
Thanks,
Jomei
I wanted to have so you get a hint at three digits random digits and have to figure out the third digit by other information you run across exploring the cave.
Crude understanding of java I came up with this:
JavaScript:
var a = String($gameVariables.value(100))
a.concat("5")
$gameVariables.value(100) = Number(a)
Am I even close to pulling it off or am I not even on the planet?
I'm also having trouble random generating a 3 digit number as a zero in the hundreds place.
And anyway to strip the comma out of the text when using \v[]?
Thanks,
Jomei