Get variable value

XGuarden

Veteran
Veteran
Joined
May 10, 2016
Messages
419
Reaction score
12
First Language
French
Primarily Uses
I try to make this work and that did't work for unknow undefined error. Any idea?
Basicly I try to read from javascript the value inside the variable number 1.


$gameVariables.setValue(472,$gameVariables.Value(1));



Also with the new update, I did't see where I ned to click for solved.
 

Sarlecc

Veteran
Veteran
Joined
Sep 16, 2012
Messages
454
Reaction score
209
First Language
English
Primarily Uses
RMMV
Should be: $gameVariables.setValue(472, $gameVariables.value(1)); //note the lowercase value
 

XGuarden

Veteran
Veteran
Joined
May 10, 2016
Messages
419
Reaction score
12
First Language
French
Primarily Uses
Should be: $gameVariables.setValue(472, $gameVariables.value(1)); //note the lowercase value
Thanks it's work. And how Did I mark you as best anwser?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

My tutorial is live! It covers using Yanfly's weapon unleash to replace the basic attack skill with a more dynamic version depending on which weapon type the actor has equipped. It also includes how to import a custom function used to generate a random number within supplied minimum and maximum values, used in the replaced skills, to give weapons a set damage range.
What can I sing for my sisters birthday...?

>.<'
Well, I'll have you know that I'm still around, looking for opportunity to resurface with some stuffs.
I like to think of Profile Posts as tiny homes, full of all kinds of unsuspecting suckers "future" friends.... Many of which are of course only going to be excited when a strange man in black suddenly shows up to say hi. :LZSexcite:
Stream will be live shortly with some more Haunting Ground! Today, we encounter a new stalker! Feel free to drop by!

Forum statistics

Threads
94,506
Messages
921,505
Members
124,365
Latest member
Cap_Bucky_OHare
Top