ACECORP

Founder & Entrepreneur
Veteran
Joined
Apr 6, 2016
Messages
257
Reaction score
40
First Language
English
Primarily Uses
RMMV
I have been looking at the MV JavaScript references here https://kinoar.github.io/rmmv-doc-web/ and via the command reference shown below, and I don't see a way to use Javascript to GET the value stored in an MV variable.

Has anyone done this or does anyone know how to get the value of say MV Variable 0031 via JavaScript?

 

ACECORP

Founder & Entrepreneur
Veteran
Joined
Apr 6, 2016
Messages
257
Reaction score
40
First Language
English
Primarily Uses
RMMV
Answered my own question -- $gameVariables.value(id) // to get one.

LOL... i misunderstood the document.

$gameVariables.value(id) is the answer
 

GE_Peter

Veteran
Veteran
Joined
Dec 13, 2016
Messages
37
Reaction score
12
First Language
English
Primarily Uses
RMMV
I did exactly the same thing when I first started looking. Hmm, there's a '.setValue', so where's the '.getValue'?

Hours later... oh, it's just '.value'. :)
 

Latest Profile Posts

SF_People3_1 added!
index.php

Micro rant. The worst part of working from home when you live with your family is seeing how inconsiderate they are. "Hey, you're sitting in front of your computer, that means you're not doing anything! I want to put the TV at 200 decibels!"

If I was working in the office would you still talking me like that?
It's definitely discouraging when streamers give a try-to-say-it-nicely (i.e. bad) review of your game demo. It's like jumping into a cold pool. Bad initally, but it gets better with time. And you are now more alert and see better.
Some screenshots of the pub and lodging with the beginnings of clutter taking shape
TTp8uCw.png

jtC202e.png

bSXgyVl.png

eRx9PUF.png
Backgrounds are not my strong suit... :kaodes:
DazI8jt.jpg

Just realized I forgot doing the clouds... woops

Forum statistics

Threads
118,507
Messages
1,116,479
Members
155,506
Latest member
numagnz
Top